session list

Lists all session management sessions within the specified replica set.

Syntax

session list pattern maximum_return replica_set_name

Options

pattern
Specifies the pattern for returning user names. The pattern can include a combination of wild card and string constant characters. The pattern is not case-sensitive. For example, you can specify *luca* or *LUCA* as the pattern to find all users that contain the substring luca in the user name.
Note: Only the asterisk (*) character can be used as wild card.
maximum_return
Specifies the maximum number of sessions to return. When there are more matches than designated by this option, the output contains the number of matches.
replica_set_name
Specifies the name of the replica set.

Examples

The following example (entered as one line) lists the user sessions in the ibm.com replica set for users that contains the string ons and limits the number of matches to 100:
dscadmin> session list *ons* 100 ibm.com