SESSIONS (Show Sessions)

The SESSIONS (Show Sessions) system command returns information about in-use sessions. The information includes the session number, the number of the MCS that created the session, the usercode of the session, and the station associated with the session. You can filter the response by usercode, MCS name, or both. Use the COUNT modifier to return the number of sessions.

Syntax

             ┌◄────────────────────────────────┐
── SESSIONS ─┴┬───────────────────────────────┬┴─┤
              ├─/1\─COUNT─────────────────────┤
              ├─/1\─USER─┬─────┬─<usercode>───┤
              │          └─ = ─┘              │
              └─/1\─MCS─┬─────┬─<MCS name>────┘
                        └─ = ─┘
              

Example

SESSIONS

   --Session--MCS--Identification--------------
      47073    2   MONITORFILE
      47074    2   AP9208
      47075    2   ODT
      47076    2   (ADM) CCFPORT1
      47077    1   (ADM) CCFPORT1/CANDE/1

 SESSIONS MCS = SYSTEM/CANDE

   --Session---Identification--MCS=SYSTEM/CANDE--------
      47077    (ADM) CCFPORT1/CANDE/1

SESSIONS COUNT

    There are 27 session entries.