lsview

Lists view registry entries

APPLICABILITY


Product

Command Type

ClearCase


cleartool subcommand


ClearCase LT


cleartool subcommand


Attache


command


Platform

UNIX


Windows

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 ]
lsview [ -s·hort | -l·ong ] [ -pro·perties [ -ful·l ] | -age ]

[ -cview | view-tag ... | -sto·rage view-storage-dir-pname ... | -uui·d view-uuid ]

DESCRIPTION

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:

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.

ClearCase and Attache-Default Output

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:

RESTRICTIONS

None.

OPTIONS AND ARGUMENTS

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.

-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.
ClearCase and Attache-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.
-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 for ClearCase and Attache: Views registered for the local network region. Default for ClearCase LT: All views registered at the ClearCase LT server host.

-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. On UNIX systems, lsview lists the working directory view, if there is one; otherwise, it lists the set 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

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.

SEE ALSO

mktag, mkview, register, unregister, Administrator's Guide