lsgrp

Use the lsgrp command to display Replication Manager groups and their associations. To see volumes in a group, use the showgrp command.

Syntax

Read syntax diagramSkip visual syntax diagram>>-repcli-- --lsgrp-- --+----+-- -- ---------------------------->
                        +--s-+
                        '--l-'

>--+-------------------------+---------------------------------><
   '-group_name--+-[. . .]-+-'
                 '---------'

Parameters

-s
An optional parameter that displays only the group name.
-l
An optional parameter that displays group name and other valid output.
group_name [. . .] | -
An optional parameter that displays only the groups with the name specified. Separate multiple group names with a comma between each name. Alternatively, use the dash (-) to specify that input for this parameter comes from an input stream (stdin).

Description

You can use the lsgrp command to display Replication Manager groups and their associations.

Return values

No groups match criteria specified.

For each group, the following information is listed:

Column Label Details
Name User-defined name of the group.
Volumes Number of volumes included in the group.
Description User-defined description of the group.

Possible failures

Examples

An invocation example:

repcli lsgrp -l -cptype flash groupA

The resulting output:

Name    Volumes      Description
===================================
groupA    24     flashcopy-volumes-for-ESS

Related topics

(C) Copyright International Business Machines Corporation 2004