Product | Command Type |
---|---|
ClearCase | cleartool subcommand |
ClearCase LT | cleartool subcommand |
Attache | command |
Platform |
---|
UNIX |
Windows |
ClearCase and Attache:
ClearCase LT:
In ClearCase and Attache, the lsview command lists one or more views, including nonactive dynamic views. In ClearCase LT, lsview lists views registered at the ClearCase LT server host. To be accessible to cleartool subcommands and Attache commands, including lsview, a view requires these registry entries:
One entry in the view_object registry file
One or more entries in the view_tag registry file
These files, view_object and view_tag, constitute the view registry on the network's registry server host. For more information about registry files, see the Administrator's Guide.
In ClearCase and Attache, the lsview command lists all views registered for the current network region by default, whether or not they are active. The default output line for each listed view shows:
Whether the view is active on the host (*
indicates the active dynamic view; active snapshot views are listed, but not annotated with a *)
NOTE: lsview does not report unmounted local views as active even if they have running servers. Also, lsview does not report removed views as active.
The view-tag
The view-storage directory pathname
LISTING FORMAT. Default for ClearCase and Attache: See the ClearCase and Attache-Default Output section. Default for ClearCase LT: Similar to that of ClearCase and Attache, but no information about dynamic views is listed.
|
|
|
|
|
|
|
|
|
|
SPECIFYING THE VIEWS. Default for ClearCase and Attache: Views registered for the local network region. Default for ClearCase LT: All views registered at the ClearCase LT server host.
The UNIX examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.
The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the UNIX shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.
List the views registered for the local network region.
cmd-context lsview
* mainRel5 /net/host5/usr/viewstore/ainRel5.vws
anneRel5 /net/host5/usr/viewstore/anneRel5.vws
* anneTest /net/host2/usr/anne/viewstore/anneTest.vws
nordTest /net/host2/usr/nord/nordTest.vws
* nordRel5 /net/host4/usr/viewstore/nordRel5.vws
nordRel4 /net/host8/usr/viewstore/nordRel4.vws
List, using the long display format, the registry information for the view with view-tag mainRel5.
cmd-context lsview -long mainRel5
Tag: mainRel5
Global path: \\pluto\viewshare\mainRel5.vws
Server host: pluto
Region: main_headqtrs
Active: YES
View tag uuid:a9c1ba4d.853e11cc.a96b.08:00:69:06:05:d8
View on host: pluto
View server access path: C:\views\mainRel5.vws
View uuid: a9c1ba4d.853e11cc.a96b.08:00:69:06:05:d8
For a particular host, list the views whose view-tags match a wildcard pattern.
cmd-context lsview -host saturn '*anne*'
* anne_main /net/saturn/usr/anne/views/anne_main.vws
anne_rel2 /net/saturn/usr/anne/views/anne_rel2.vws
List full view properties.
cmd-context lsview -properties -full anne_main
anne_main \\saturn\disk1\views\anne_main.vws
Created 18-Jun-99.17:41:34 by anne.user@saturn
Last modified 22-Jul-99.15:42:16 by sue.user@pluto
Last accessed 22-Jul-99.15:42:16 by sue.user@pluto
Last read of private data 21-Jul-99.17:06:20 by anne.user@saturn
Last derived object promotion 11-Mar-99.12.31.20 by anne.user@saturn
Last config spec update 18-Jun-99.17:55:27 by anne.user@saturn
Last derived object winkin 21-Jul-99.17:05:49 by anne.user@saturn
Last derived object creation 21-Jul-99.17:06:18 by anne.user@saturn
Last view private object update 22-Jul-99.15:42:16 by sue.user@pluto
Text mode: msdos
Properties: dynamic readwrite shareable_dos
Owner: ACME\anne : rwx (all)
Group: ACME\user : rwx (all)
Other: : r-x (read)
mktag, mkview, register, unregister, Administrator's Guide
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |