lsclients

Displays the client host list for a ClearCase license or registry server host, or for a ClearCase LT server host

APPLICABILITY


Product

Command Type

ClearCase


cleartool subcommand


Attache


command


ClearCase LT


cleartool subcommand


Platform

UNIX


Windows

SYNOPSIS

lsclients -hos·t hostname [ -typ·e { registry | license | all } ] [ -s·hort | -l·ong ]
lsclients [ -s·hort | -l·ong ]

DESCRIPTION

On every ClearCase license server host and registry server host, the albd_server process maintains a list of current client hosts. On the ClearCase LT server host, albd_server maintains a list of hosts that are clients of its registry. If a client host does not access a server host for 30 days, albd_server drops it from that server host's client host list. For more information about albd_server, see the Administrator's Guide.

RESTRICTIONS

None.

OPTIONS AND ARGUMENTS

SPECIFYING A HOST.  Default: None. You must supply a license or registry server host name.

-hos·t hostname

Specifies the registry or license server host. Only license and registry server hosts maintain client lists. If you specify a host that is not a license or registry server host, lsclients prints a message indicating that the host has no clients.

SPECIFYING THE TYPE OF SERVER HOST.  Default: -all.

-typ·e { registry | license | all }

Use -type registry or -type license to restrict the listing to include only clients of registry server hosts or clients of license server hosts, respectively.

LISTING FORMAT.  Default: Display a one-line description of each client.

-s·hort

Displays client host names only.
-l·ong

ClearCase and Attache-Expands the listing to include each client's registry server host, registry region, license server host, and date and time of the last server access.
ClearCase LT-Displays information about the client host, including the date and time of the last server access.

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.

UNIX FILES

/var/adm/atria/rgy/rgy_hosts.conf
/var/adm/atria/rgy/rgy_svr.conf
/var/adm/atria/rgy/rgy_region.conf
/var/adm/atria/config/license_host

WINDOWS REGISTRY KEYS

HKEY_LOCAL_MACHINE\SOFTWARE\Atria\ClearCase\CurrentVersion\AtriaRegy
HKEY_LOCAL_MACHINE\SOFTWARE\Atria\ClearCase\CurrentVersion\Region
HKEY_LOCAL_MACHINE\SOFTWARE\Atria\ClearCase\CurrentVersion\ServerType
HKEY_LOCAL_MACHINE\SOFTWARE\Atria\ClearCase\CurrentVersion\LicenseHost

SEE ALSO

clearlicense, Administrator's Guide