clearcase中的lsview, startview, endview

来源:互联网 发布:用最小二乘法处理数据 编辑:程序博客网 时间:2024/04/30 20:43
[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


原创粉丝点击