lsreplica

Lists VOB replicas

APPLICABILITY

Product Command type

ClearCase

cleartool subcommand

Attache

command

MultiSite

multitool subcommand


Platform

UNIX

Windows


SYNOPSIS

lsrep·lica [ -l·ong | -s·hort | -fmt format ]

[ -sib·lings
| [ -sib·lings ] -invob vob-selector
| replica-selector ...
]

DESCRIPTION

This command lists information about all VOB-replica objects recorded in the VOB database of the current replica (except for deleted replicas). Other replicas may exist, but the packets containing their creation information have not yet been imported at the current replica.

RESTRICTIONS

None.

OPTIONS AND ARGUMENTS

LISTING FORMAT. Default: Includes creation event information for each replica.

-l·ong

Includes each replica's creation information, master replica, mastership request setting, ownership information, and host. If the current replica is in the process of restoration, this option annotates the listings of other replicas from which restoration updates are required. (See the restorereplica reference page.)
-s·hort

Lists only replica names.
-fmt format

Lists information using the specified format string. See the fmt_ccase reference page for details on using this report-writing facility.
-sib·lings

Lists the VOB family members of the current replica, but does not list the current replica itself. This option is useful when you are writing scripts that process only sibling replicas.

SPECIFYING THE VOB FAMILY. Default: Lists VOB family members of the replica containing the current working directory.

-invob vob-selector

Lists the replicas of the specified VOB family. Specify vob-selector in the form [vob:]pname-in-vob

pname-in-vob

Pathname of the VOB-tag (whether or not the VOB is mounted) or of any file-system object within the VOB (if the VOB is mounted)


SPECIFYING THE REPLICA. Default: Lists all known replicas of the VOB family.

replica-selector ...

Restricts the listing to one or more replicas. Specify replica-selector in the form [replica:]replica-name[@vob-selector]

replica-name

Name of the replica

vob-selector

VOB family of the replica; can be omitted if the current working directory is within the VOB.

Specify vob-selector in the form [vob:]pname-in-vob

pname-in-vob

Pathname of the VOB-tag (whether or not the VOB is mounted) or of any file-system object within the VOB (if the VOB is mounted)


EXAMPLES

SEE ALSO

mkreplica