In ClearCase, 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 , a view requires these registry entries:
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, 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:
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.
ClearCase LT: Similar to that of ClearCase, but no information about dynamic views is listed.
ClearCase—The network accessibility information includes the global path to the view if a value is set for this property; otherwise, lists the host name and host-local path only.
ClearCase LT—The network accessibility information lists the host name and the host-local path.
With the –full option, reports the following additional properties:
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.
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
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
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)
Copyright© 2003 Rational Software. All Rights Reserved.