How does one find the ClearCase registry server name for a view?

允我心安 提交于 2019-12-24 18:01:42

问题


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?


回答1:


I should have looked harder. The answer is cleartool hostinfo -long which will include the Registry host in the output listing.




回答2:


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)



来源:https://stackoverflow.com/questions/7864492/how-does-one-find-the-clearcase-registry-server-name-for-a-view

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!