session list
Lists all session management sessions within the specified replica set.
session list pattern maximum_return replica_set_name
Options
- pattern
- 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, we can specify *luca* or *LUCA* as the pattern to find all users that contain the substring luca in the user name. Only the asterisk (*) character can be used as wild card.
- maximum_return
- 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
- Name of the replica set.
Examples
The following example lists the user sessions in the ibm.com replica set for users containing the string ons and limits the number of matches to 100:dscadmin> session list *ons* 100 ibm.com
Parent topic: dscadmin command