Search with the cn=workers,cn=monitor base

You can retrieve the information about the operations that the worker threads are running and when the threads started the operations. You must run the monitor search command with the administrator credentials.

To retrieve the search results for the cn=workers,cn=monitor base, run the following command:

ldapsearch -p port -D adminDN -w adminPWD -b "cn=workers,cn=monitor" -s base objectclass=*

The cn=workers,cn=monitor search returns detailed activity information only if audit is turned on. If audit is not on, cn=workers,cn=monitor returns only thread information for each of the workers.

The cn=workers,cn=monitor base search result is useful when a server performance is poor or not functioning as expected. You must use the information to get the insight into what the server is doing.

Attention: The cn=workers,cn=monitor search suspends all server activity until it is completed. For this reason, any application that runs a search with the cn=workers,cn=monitor base must issue a warning before the search. The response time for the search command increases as the number of server connections and active workers increase.