lsview

Lists view registry entries

APPLICABILITY

ClearCase (cleartool subcommand), Attache (command)

SYNOPSIS

lsview [ -s·hort | -l·ong ] [ -hos·t hostname ]

[ -pro·perties [ -ful·l ] | -age ] [ -reg·ion network-region ]
[ -cview | view-tag ... | -sto·rage view-storage-dir-pname ... | -uui·d view-uuid ]

DESCRIPTION

The lsview command lists one or more ClearCase views, including nonactive dynamic views. To be accessible to cleartool subcommands and Attache commands, including lsview, a view requires these registry entries:

These files, view_object and view_tag, constitute the view registry and are located in directory ccase-home-dir\var\rgy on the network's registry server host. The registry_ccase reference page describes the ClearCase registry files in detail.

Default Output

By default, lsview lists all views registered for the current network region, whether or not they are active. The default output line for each listed view looks like this:

* doc_nt     \\sunfield\share\views\doc_nt.vws

The three output fields report this information:

PERMISSIONS AND LOCKS

Permissions Checking: No special permissions required. Locks: No locks apply.

OPTIONS AND ARGUMENTS

LISTING FORMAT.  Default: See the Default Output section.

-s·hort

Restricts the listing to view-tags only.
-l·ong

Expands the listing to include all information stored in the view registry regarding the listed views. (See also the registry_ccase reference page.)
-pro·perties [ -ful·l ]

Reports the following properties:

  • When and by whom the view was created, last modified, and last accessed
  • Permissions for the view owner, view group members, and others
With the -full option, reports the following additional properties:

  • When and by whom view-private data was last accessed
  • When and by whom a view-private object was last updated
  • When and by whom the config spec was last updated
  • For a dynamic view, when and by whom a derived object was last created, promoted, and winked in
  • For a dynamic view, whether it creates shareable derived objects or nonshareable derived objects
  • The view's text mode
  • Whether the view is a dynamic view or a snapshot view
  • Whether the view is read-only or writable
-age

Reports when and by whom the view was last accessed.

SPECIFYING THE VIEWS.  Default: Lists all views registered for the local network region.

-hos·t hostname

Confines the listing to views whose storage directories reside on host hostname.
-reg·ion network-region

Confines the listing to the views registered for a particular network region. (The mkview and mktag commands have a -region option, which can be used to assign view-tags to specific network regions.) The network-region argument can include pattern-matching characters as described in wildcards_ccase (ClearCase) or wildcards (Attache). If the network-region argument includes pattern-matching characters, enclose it in single quotes.
-cvi·ew

Lists the current view.
view-tag ...

Specifies a single view to be listed. The view must be registered, but it need not be active to be listed with lsview. The view-tag argument can include pattern-matching characters as described in wildcards_ccase or wildcards. Enclose in single-quotes any view-tag argument that includes pattern-matching characters.
-sto·rage view-storage-dir-pname ...

One or more views, identified by full pathnames to their storage directories.
-uui·d view-uuid

A single view, specified by its UUID (universal unique identifier).

EXAMPLES

Examples including 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 command interpreter prompt. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.

cmd-context lsview
*   mainRel5     \\pluto\c\views\mainRel5.vws
    anneRel5     \\jupiter\users\views\anneRel5.vws
*   anneTest     \\neptune\anne\vw_store\anneTest.vws
    nordTest     \\luna\users\nord\nordTest.vws
*   nordRel5     \\luna\share\vw_store\nordRel5.vws
    nordRel4     \\luna\share\vw_store\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 -host saturn '*anne*'
*   anne_main     \\saturn\c\users\anne\views\anne_main.vws
    anne_rel2     \\saturn\c\users\anne\views\anne_rel2.vws
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)

SEE ALSO

mktag, mkview, register, registry_ccase, unregister, view



Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved.