Search with the cn=connections, cn=monitor base

You can retrieve the server connections information of a server by searching the cn=connections, cn=monitor base. You must run the search command with the administrator credentials.

To retrieve server connection information, run the ldapsearch command with the cn=connections, cn=monitor base.

ldapsearch -h server -p port -D adminDN -w adminPWD  \
-b cn=connections,cn=monitor -s base objectclass=*

The search command returns information in the following format:

cn=connections,cn=monitor
connection=1632 : 9.41.21.31 : 2002-10-05 19:18:21 GMT: 1 : 1 : CN=ADMIN : : 
connection=1487 : 127.0.0.1 : 2002-10-05 19:17:01 GMT: 1 : 1 : CN=ADMIN : :
Note: If the directory server is configured for secure connection, an SSL or a TLS indicator as appropriate is added on the connections.

For more information, see the Administering section of the IBM® Security Verify Directory documentation.