如何找到一个视图的ClearCase注册表服务器名称? [英] How does one find the ClearCase registry server name for a view?
问题描述
我想使用cleartool lsview -quick命令,但是它需要一个主机名参数,也称为注册表服务器。可以使用cleartool命令或检查客户端日志文件来确定给定视图正在使用哪个主机/注册服务器吗?
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?
推荐答案
cleartool hostinfo
并不理想,因为并非总是要进行解析(例如,在Unix上,它可以被截断)
cleartool hostinfo
is not ideal, because not always meant to be parsed (on Unix for instance, it can be truncated)
在Windows上,我更喜欢直接从中获取该信息注册表,该注册表应位于 HKLM\软件\Atria\ClearCase\CurrentVersion
-(我将在明天检查)
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
(有点像您必须手动切换注册表服务器)
这篇关于如何找到一个视图的ClearCase注册表服务器名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!