lssess

Use the lssess command to display Replication Manager sessions and their associated status. To see properties such as group, pool, and copy type for a specific session, use the showsess command.

Syntax

Read syntax diagramSkip visual syntax diagram>>-repcli-- --lssess--+-------------------+-- ------------------>
                      '--cptype--copytype-'

>--+---------------------+-- --+-------------------+-- --------->
   '--state--+-defined-+-'     '--status--+-norm-+-'
             '-active--'                  +-med--+
                                          '-sev--'

>--+-----------------+-- --+------------------+-- -------------->
   '--recov--+-yes-+-'     '--shadow--+-yes-+-'
             '-no--'                  '-no--'

>--+---------------+-- --+----+-- ------------------------------>
   '--err--+-yes-+-'     +--s-+
           '-no--'       '--l-'

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

Parameters

-s
An optional parameter that displays only the session name.
-l
An optional parameter that displays all valid output.
cptype copytype
An optional parameter that displays only the sessions with the copy type specified.
-recov yes | no
An optional parameter that is set to yes or no to indicate whether the session can be considered recoverable, based on whether any sequences in the session can be considered recoverable.
-shadow yes | no
An optional parameter that indicates whether any part of the session is shadowing data.
-err yes | no
An optional parameter that shows only sessions that have errors or no errors.
session_name [. . .] | -
An optional parameter that displays only the sessions with the session name specified. Separate multiple session names with a comma between each name. If no session name is specified, all sessions are displayed unless another filter is used.

Description

You can use the lssess command to display Replication Manager sessions and their associated status.

Return values

For each session, the following information is listed:

Column Label Cell value Details
Name Sessions Name User-defined name of the session.
Status Status Level Unknown, Normal, Low, Medium, Severe, Fatal
State State the session is in Defined and Active
Group User defined Group name Group Name
Type [pprc, flash] Copytype
Recover [yes, no] Is Recoverable
Shadow [yes, no] Is shadowed
Err [yes, no] Has errors

Possible failures

Examples

An invocation example:

repcli lssess -l 

The resulting output:

Name      Type		Status  State  Group Recov Err  Shadow	Timestamp
=========================================================================
Session1  flash  normal	active GroupA yes  no   no 	2003:12:13 09:11:24
Session2  pprc   normal	active GroupB yes  no   no	2003:12:13 09:11:25

Related topics

(C) Copyright International Business Machines Corporation 2004