Using the cn=connections,cn=monitor command
To retrieve information about server connections, use the cn=connections,cn=monitor command.
idsldapsearch -D <adminDN> -w <adminpw>-h <servername> -p <portname> -b
cn=connections,cn=monitor -s base objectclass=*This search returns something similar to the following
results:
cn=connections,cn=monitor
connection=3546 : 9.48.181.83 : 2005-02-28 21:53:54 GMT: 1 : 5 : CN=ROOT ::
connection=3550 : 9.48.181.83 : 2005-02-28 21:53:54 GMT: 1 : 3 : CN=ROOT ::
connection=3551 : 9.48.181.83 : 2005-02-28 21:53:55 GMT: 1 : 4 : CN=ROOT ::
connection=3553 : 9.48.181.83 : 2005-02-28 21:53:55 GMT: 1 : 3 : CN=ROOT ::
connection=3554 : 9.48.181.83 : 2005-02-28 21:53:55 GMT: 1 : 5 : CN=ROOT ::
connection=3555 : 9.48.181.83 : 2005-02-28 21:53:55 GMT: 1 : 2 : CN=ROOT ::
connection=3556 : 9.48.181.83 : 2005-02-28 21:53:55 GMT: 1 : 2 : CN=ROOT ::
connection=3557 : 9.48.181.83 : 2005-02-28 21:53:55 GMT: 1 : 1 : CN=ROOT ::
connection=3558 : 9.48.181.83 : 2005-02-28 21:53:55 GMT: 1 : 1 : CN=ROOT ::
connection=3559 : 9.48.181.83 : 2005-02-28 21:53:55 GMT: 0 : 1 : CN=ROOT :: - connection=xxxx
- The connection number.
- 9.48.181.83
- The server IP address.
- 2005-02-28 21:53:54 GMT
- The current time on the server. The current time is in the format:
year-month-day hour:minutes:seconds GMT - 1 : 5
- The opsinprogress and opscompleted, respectively.
- opsinprogress – The number of requests in progress.
- opscompleted – The number of completed requests since the server was started.
- CN=ROOT
- This is the DN that the connection is bound as.