ClearCase VOB 长期未使用

标签 clearcase

我使用 ClearCase 管理 SCM 环境,其中包含大量 VOBS。

其中许多 VOBS 很久以前就不再使用了。我想知道是否可以确定这些 vobs 的最后修改时间。

另一个疑问是:如果我只注销这些VOBS,VOB Server的CPU和内存消耗会减少吗?

理论上,要让这些 vobs 重新上线,我只需要运行一个注册命令,对吧?

你们是否可以向我推荐任何其他方法来管理这种情况(VOB 很长一段时间没有使用)?

最佳答案

Many of these VOBS are not used since a long time ago. I would like to know whether it is possible to determine the last modification time on these vobs.

您可以尝试使用cleartool lshis -all在 vob 标签上。

我有一个脚本可以过滤最后的事件:

cleartool lshis -fmt "%Xn\t%Sd\t%e\t%h\t%u \n" -since 01-Oct-2010 -all <vobname>| grep -v lock | head -1 | grep -o '20[0-9][0-9]-[0-9][0-9]-[0-9][0-9]'

Another doubt is: if I only unregister these VOBS, the CPU and Memory consumption will decrease in the VOB Server?

是的,因为不再有与该 vob 关联的 vob_server 进程。

In theory, to put these vobs online again, I will only have to run a register command, right?

是的,尽管我更喜欢在注册和 mktagging 之前取消注册/rmtag(如“Removing ClearCase vobs ”)。

关于ClearCase VOB 长期未使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28590589/

相关文章:

Clearcase:如何复制/ fork 文件?

c++ - ClearCase 描述未按预期工作

clearcase - 如何通过配置规范中的标签检索文件?

label - ClearCase 配置规范 : load only files with specific label from certain directory

visual-studio-2010 - 删除未使用的源代码文件

clearcase - 如何从 Windows 的 clearcase 动态 View 中卸载不需要的 VOB(大量 VOB)

clearcase - 如何在 CCRC 7.1.2 中检索先前或旧版本

clearcase - 如何删除其他用户创建的 clearcase View ?

clearcase - 在不使用配置规范的情况下从带有特定标签的 Clearcase 复制元素