clearcase中的lsview, startview, endview

本文详细介绍了如何使用特定命令对虚拟视图进行创建、启动、停止、结束等操作,包括虚拟视图的全局路径、服务器主机、区域、活动状态、UUID等关键信息的查看,以及如何通过命令来控制虚拟视图的生命周期。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[test@host view]$ ct lsview -l your_view_name
Tag: your_view_name
  Global path: /somepath/your_view_name.vws
  Server host: host
  Region: ddd
  Active: NO
  View tag uuid:7ddcc71f.d21511e1.8c47.80:c1:6e:e6:4b:b1
View on host: host
View server access path: /viewstorage/your_view_name.vws
View uuid: 7ddcc71f.d21511e1.8c47.80:c1:6e:e6:4b:b1
View owner: test

[test@host view]$ ct startview your_view_name
[test@host view]$ ct lsview -l your_view_name
Tag: your_view_name
  Global path: /somepath/your_view_name.vws
  Server host: host
  Region: ddd
  Active: YES
  View tag uuid:7ddcc71f.d21511e1.8c47.80:c1:6e:e6:4b:b1
View on host: host
View server access path: /viewstorage/your_view_name.vws
View uuid: 7ddcc71f.d21511e1.8c47.80:c1:6e:e6:4b:b1
View owner: test

[test@host view]$ ps -ef | grep view_server
test 18064  3606  0 09:34 ?        00:00:00 view_server /viewstorage/your_view_name.vws -u 7ddcc71f.d21511e1.8c47.80:c1:6e:e6:4b:b1 -S12:16,udp:17,tcp
test 18070 17777  0 09:34 pts/3    00:00:00 grep view_server
[test@host view]$ pwd
/view
[test@host view]$ ll
total 16
drwxr-xr-x 30 test users 4096 Jul 30 15:44 your_view_name
[test@host view]$ ct endview  -server your_view_name //这会使的view_server被kill掉,同时在/view下的路径会被移除
[test@host view]$ ps -ef | grep view_server
test 18078 17777  0 09:35 pts/3    00:00:00 grep view_server

[test@host view]$ ll


[test@host view]$ ct lsview -l your_view_name
Tag: your_view_name
  Global path: /somepath/your_view_name.vws
  Server host: host
  Region: ddd
  Active: NO
  View tag uuid:7ddcc71f.d21511e1.8c47.80:c1:6e:e6:4b:b1
View on host: host
View server access path: /viewstorage/your_view_name.vws
View uuid: 7ddcc71f.d21511e1.8c47.80:c1:6e:e6:4b:b1
View owner: test


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值