I want to use the cleartool lsview -quick command but it requires a host name argument, also called a "registry server". Can one use a cleartool command or examine a client log file to determine which host/registry server a given view is using?
Asked
Active
Viewed 5,147 times
2 Answers
1
I should have looked harder. The answer is cleartool hostinfo -long
which will include the Registry host in the output listing.

pajato0
- 3,628
- 3
- 31
- 37
1
cleartool hostinfo
is not ideal, because not always meant to be parsed (on Unix for instance, it can be truncated)
On Windows, I would prefer fetching that information directly from the registry, which should be under HKLM\Software\Atria\ClearCase\CurrentVersion
- (I'll check tomorrow)
reg query HKLM\Software\Atria\ClearCase\CurrentVersion -v AtriaRegy
(a bit like when you have to manually switch registry server)

VonC
- 1,262,500
- 529
- 4,410
- 5,250