42.5. LDAP diagnostics and statistics

42.5.1. LDAP diagnostics

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

d d ldap

Shows the state of the resource and its sessions

[20:14:32] ABILIS_CPX:d d ldap

RES:Ldap ----------------------------------------------------------------------
       Lightweight_Directory_Access_protocol
       STATE:ACTIVE                                 DB-LOADED:YES
       CUR-SES:0            PEAK-SES:0              MAX-SES:4
       ENTRIES:9/250        ATTRIBUTES:28/9000      ATTR-VALUES:39/11000
       - LDAP Sessions diagnostics --------------------------------------------
       SES: State     RemAdd-RemPort        User
       ------------------------------------------------------------------------
       0    IDLE      000.000.000.000-0
       1    IDLE      000.000.000.000-0
       2    IDLE      000.000.000.000-0
       3    IDLE      000.000.000.000-0

42.5.2. LDAP statistics

The following commands are used to display the statistics of the LDAP resource:

d s ldap

Shows the statistics of the LDAP resource, such as:

CHR

Total number of incoming/outgoing characters from UDP.

FMR

Total number of incoming/outgoing packets to UDP

LONG

Total number of refused incoming packets with too long length.

BAD-FMT

Total number of refused incoming malformed packets.

BAD-SRC

Total number of refused incoming packets with not allowed source IP address.

TIME-OUT

Total number of timeouts.

d se ldap

Shows the statistics of the LDAP resource for each session.

[20:30:09] ABILIS_CPX:d s ldap

RES:Ldap ----------------------------------------------------------------------
       Lightweight_Directory_Access_protocol
       --- Cleared 0 days 01:57:24 ago, on 14/11/2011 at 18:32:49 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FMR        |          0|          0|
       LONG       |          0|           |BAD-FMT    |          0|           |
       BAD-SRC    |          0|           |TIME-OUT   |          0|           |
       ------------------------------------------------------------------------
[20:30:13] ABILIS_CPX:d se ldap

RES:Ldap ----------------------------------------------------------------------
       Lightweight_Directory_Access_protocol
       --- Cleared 0 days 01:57:29 ago, on 14/11/2011 at 18:32:48 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FMR        |          0|          0|
       LONG       |          0|           |BAD-FMT    |          0|           |
       BAD-SRC    |          0|           |TIME-OUT   |          0|           |
       ------------------------------------------------------------------------
       - LDAP Sessions statistics ---------------------------------------------
       SES:0
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FMR        |          0|          0|
       LONG       |          0|           |BAD-FMT    |          0|           |
       BAD-SRC    |          0|           |TIME-OUT   |          0|           |
       ------------------------------------------------------------------------
       SES:1
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FMR        |          0|          0|
       LONG       |          0|           |BAD-FMT    |          0|           |
       BAD-SRC    |          0|           |TIME-OUT   |          0|           |
       ------------------------------------------------------------------------
       SES:2
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FMR        |          0|          0|
       LONG       |          0|           |BAD-FMT    |          0|           |
       BAD-SRC    |          0|           |TIME-OUT   |          0|           |
       ------------------------------------------------------------------------
       SES:3
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FMR        |          0|          0|
       LONG       |          0|           |BAD-FMT    |          0|           |
       BAD-SRC    |          0|           |TIME-OUT   |          0|           |
       ------------------------------------------------------------------------