48.4. OPC diagnostics and statistics

48.4.1. OPC diagnostics

The following command is used to display the diagnostics of the OPC resource:

[15:52:15] ABILIS_CPX:d d opc

RES:Opc -----------------------------------------------------------------------
       Operator_Panel_Collector                                                
       STATE:UP
       CUR-MAXUSERS:200  CUR-MAXCALLS:200  CUR-MAXCLIENTS:20 CUR-MAXREMOTES:1
       CUR-USERS:22      CUR-CALLS:0       CUR-CLIENTS:1     CUR-REMOTES:1
       - OPC Sessions ---------------------------------------------------------
       Ses  State    SessionID              PendingTime     WaitingTime
       ------------------------------------------------------------------------
       0    READY                           0               0
       1    USED     001201610121539139199  10              0
       2    READY                           0               0
       3    READY                           0               0
       4    READY                           0               0
       5    READY                           0               0
       6    READY                           0               0
       7    READY                           0               0
       8    READY                           0               0
       9    READY                           0               0
       10   READY                           0               0
       11   READY                           0               0
       12   READY                           0               0
       13   READY                           0               0
       14   READY                           0               0
       15   READY                           0               0
       16   READY                           0               0
       17   READY                           0               0
       18   READY                           0               0
       19   READY                           0               0
       - OPC Remote collectors ------------------------------------------------
       Rem  AbilisId                               LocAdd-LocPort
            Tcp-State    Login-State   Protocol    RemAdd-RemPort
       ------------------------------------------------------------------------
       0    Remote                                 192.168.020.254-15735  
            CONNECTED    LOGGED        Plain       192.168.029.254-80     
       ------------------------------------------------------------------------

48.4.2. OPC statistics

The following command is used to display the statistics of the OPC resource:

[15:52:18] ABILIS_CPX:d s opc

RES:Opc -----------------------------------------------------------------------
       Operator_Panel_Collector                                                
       --- Cleared 1 days 07:55:02 ago, on 11/10/2016 at 07:57:41 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       USER-STATE |        262|           |CALL-STATE |        562|           |
       BAD-USERST |          0|           |BAD-CALLST |          0|           |
       BAD-USER   |         31|           |BAD-CALLDIR|          0|           |
       BADABILISID|          0|           |BADINTERF  |          0|           |
       ------------------------------------------------------------------------