22.4. CP diagnostics and statistics

22.4.1. CP diagnostics

To display the diagnostics of the CP resource the following commands are used:

d d cp

Shows the current state of the driver, the session privilege level actually in use and the current operative state of the CP session (the last two parameters are shown only if the session is in the CONNECTED state).

d de cp

Shows the same information displayed by d d cp command along with the last command typed.

[11:09:16] ABILIS_CPX:d d cp

RES:Cp ------------------------------------------------------------------------
       Control_Port                                                            
       STATE:UP           CUR-SESNUM:4     CUR-PS:512   
       ------------------------------------------------------------------------
       Ses State     Level User                             Action
       ------------------------------------------------------------------------
       1   CONNECTED SUPER super                            COMMAND-MODE
       2   READY     
       3   READY     
       4   READY     
[11:09:16] ABILIS_CPX:d de cp

RES:Cp ------------------------------------------------------------------------
       Control_Port                                                            
       STATE:UP           CUR-SESNUM:4     CUR-PS:512   
       ------------------------------------------------------------------------
       Ses State     Level User                             Action
            [Last Command]
       ------------------------------------------------------------------------
       1   CONNECTED SUPER super                            COMMAND-MODE
             d de cp
       2   READY     
       3   READY     
       4   READY     

The meaning:

State

State of the CP resource session:

  • READY - session is available.

  • CONNECTED - session is connected.

  • CLEARED - session is confirming an incoming clear.

Level

Access Level of connected user:

  • USER - User login level.

  • ADMINISTRATOR - ADMINISTRATOR login level.

  • SUPERUSER - SUPER-USER login level.

User

Connected user, only for LOGIN-MODE:USERS.

Action

Action made by user:

  • LOGIN-PHASE - CP login phase.

  • COMMAND-MODE - CP Command Exchange.

  • SENDING-FILE - Send File command management.

  • RECEIVING-FILE - Receive File command management.

22.4.2. CP statistics

To display the statistics of the CP resource the following commands are used:

d s cp

Shows the number of data segments sent/received and the number of characters sent/received.

d se cp

Shows statistic information in an extended format: the same information listed for d s cp command are shown for each session.

[11:09:16] ABILIS_CPX:d s cp

RES:Cp ------------------------------------------------------------------------
       Control_Port                                                            
       --- Cleared 3 days 03:50:55 ago, on 27/06/2020 at 05:32:59 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       SEG        |        526|         72|CHAR       |      27424|        655|
       ------------------------------------------------------------------------
[11:09:16] ABILIS_CPX:d se cp

RES:Cp ------------------------------------------------------------------------
       Control_Port                                                            
       --- Cleared 3 days 03:51:25 ago, on 27/06/2020 at 05:32:59 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       SEG        |        535|         73|CHAR       |      27936|        663|
       ------------------------------------------------------------------------
       - Sessions statistics --------------------------------------------------
       Ses:1
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       SEG        |        535|         73|CHAR       |      27936|        663|
       ------------------------------------------------------------------------
       Ses:2
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       SEG        |          0|          0|CHAR       |          0|          0|
       ------------------------------------------------------------------------
       Ses:3
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       SEG        |          0|          0|CHAR       |          0|          0|
       ------------------------------------------------------------------------
       Ses:4
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       SEG        |          0|          0|CHAR       |          0|          0|
       ------------------------------------------------------------------------

With reference to the shown interval of time («Cleared 3 days 03:51:25 ago») these counters show the number of:

SEGNumber of incoming/outgoing data segments..
CHARNumber of incoming/outgoing characters.

22.4.3. CP sessions status

To display the communication sessions status of the CP resource the following commands are used:

d c cp

Shows the current state of sessions.

d ce cp

Shows the current state of sessions in extended format.

[11:09:16] ABILIS_CPX:d c cp

Res:        Ses:  State:     Clr:/Res:   Ses:  [Cg:/Cd:]                Id:/Pr:
-------------------------------------------------------------------------------
Cp          1     CONN FROM  Ssh         6                              INT
            2     UP         F0,B0
            3     UP         F0,B0
            4     UP         F0,B0
-------------------------------------------------------------------------------
[11:09:16] ABILIS_CPX:d ce cp

RES:Cp
    SES:1   CONN FROM  RES:Ssh       SES:6  
            CG:                CD:                PID:FFFFFFFF UD:CP
    SES:2   UP         CLR:F0,B0
    SES:3   UP         CLR:F0,B0
    SES:4   UP         CLR:F0,B0