36.3. HTTP diagnostics and statistics

36.3.1. HTTP diagnostics

The following commands are used to display diagnostics:

d d http / d de http

Shows diagnostic information such as the state of the resource, the maximum number of connections, the IP address-ports of clients connected, etc.

[15:53:04] ABILIS_CPX:d d http

RES:Http ----------------------------------------------------------------------
       HyperText_Transfer_Protocol                                             
       STATE:READY     MAX-CONN:42
       ------------------------------------------------------------------------
       CH: State       LocAdd-LocPort         RemAdd-RemPort
       ------------------------------------------------------------------------
       0   CONNECTED   192.168.029.254-80     192.168.020.104-53586  
       1   CONNECTED   192.168.029.254-80     192.168.020.104-53587  
       2   LISTENING   000.000.000.000-80     
       3   LISTENING   000.000.000.000-80     
       4   LISTENING   000.000.000.000-80     
       5   LISTENING   000.000.000.000-80     
       6   LISTENING   000.000.000.000-80     
       7   LISTENING   000.000.000.000-80     
       8   LISTENING   000.000.000.000-80     
       9   LISTENING   000.000.000.000-80     
       10  LISTENING   000.000.000.000-80     
       11  LISTENING   000.000.000.000-80     
       12  LISTENING   000.000.000.000-80     
       13  LISTENING   000.000.000.000-80     
       14  LISTENING   000.000.000.000-80     
       15  LISTENING   000.000.000.000-80     
       16  LISTENING   000.000.000.000-80     
       17  LISTENING   000.000.000.000-80     
       18  LISTENING   000.000.000.000-80     
       19  LISTENING   000.000.000.000-80     
       20  LISTENING   000.000.000.000-80     
       21  LISTENING   000.000.000.000-80     
       22  LISTENING   000.000.000.000-80     
       23  LISTENING   000.000.000.000-80     
       24  LISTENING   000.000.000.000-80     
       25  LISTENING   000.000.000.000-80     
       26  LISTENING   000.000.000.000-80     
       27  LISTENING   000.000.000.000-80     
       28  LISTENING   000.000.000.000-80     
       29  LISTENING   000.000.000.000-80     
       30  LISTENING   000.000.000.000-443    
       31  LISTENING   000.000.000.000-443    
       32  LISTENING   000.000.000.000-443    
       33  LISTENING   000.000.000.000-443    
       34  LISTENING   000.000.000.000-443    
       35  LISTENING   000.000.000.000-443    
       36  LISTENING   000.000.000.000-443    
       37  LISTENING   000.000.000.000-443    
       38  LISTENING   000.000.000.000-443    
       39  LISTENING   000.000.000.000-443    
       40  LISTENING   000.000.000.000-443    
       41  LISTENING   000.000.000.000-443  

36.3.2. HTTP statistics

The following commands are used to display statistics:

d s http

Shows the number of sent/received characters, the number of received requests from the resource and the number of received GET, POST or PUT request from the resource.

d se http

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

[15:53:05] ABILIS_CPX:d s http

RES:Http ----------------------------------------------------------------------
       HyperText_Transfer_Protocol                                             
       --- Cleared 7 days 17:35:15 ago, on 21/01/2016 at 19:55:55 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |    4988326|   22152372|REQ        |       8135|           |
       REQ-GET    |       8120|           |REQ-POST   |         15|           |
       REQ-PUT    |          0|           |REQ-OPTIONS|          0|           |
       DENIED-IP  |        398|           |BANNED-IP  |          0|           |
       ------------------------------------------------------------------------
[15:59:02] ABILIS_CPX:d se http

RES:Http ----------------------------------------------------------------------
       HyperText_Transfer_Protocol                                             
       --- Cleared 7 days 17:38:09 ago, on 21/01/2016 at 19:55:54 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |    4988326|   22152372|REQ        |       8135|           |
       REQ-GET    |       8120|           |REQ-POST   |         15|           |
       REQ-PUT    |          0|           |REQ-OPTIONS|          0|           |
       DENIED-IP  |        398|           |BANNED-IP  |          0|           |
       ------------------------------------------------------------------------
       CH:0
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |      17925|   79660288|REQ        |         78|           |
       REQ-GET    |         78|           |REQ-POST   |          0|           |
       REQ-PUT    |          0|           |REQ-OPTIONS|          0|           |
       RSP-BUF-OVR|          0|           |
       ------------------------------------------------------------------------
       CH:1
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |     190021|  197137920|REQ        |        287|           |
       REQ-GET    |        286|           |REQ-POST   |          1|           |
       REQ-PUT    |          0|           |REQ-OPTIONS|          0|           |
       RSP-BUF-OVR|          0|           |
       ------------------------------------------------------------------------
       CH:2
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |      30967|   73509632|REQ        |         93|           |
       REQ-GET    |         92|           |REQ-POST   |          1|           |
       REQ-PUT    |          0|           |REQ-OPTIONS|          0|           |
       RSP-BUF-OVR|          0|           |
       ------------------------------------------------------------------------
       CH:3
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |      17312|   71658752|REQ        |         85|           |
       REQ-GET    |         85|           |REQ-POST   |          0|           |
       REQ-PUT    |          0|           |REQ-OPTIONS|          0|           |
       RSP-BUF-OVR|          0|           |
       ------------------------------------------------------------------------
       CH:4
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |      12872|   65951744|REQ        |         72|           |
       REQ-GET    |         71|           |REQ-POST   |          1|           |
       REQ-PUT    |          0|           |REQ-OPTIONS|          0|           |
       RSP-BUF-OVR|          0|           |
       ------------------------------------------------------------------------
...