Monitor search
You can run the monitor search against a directory server to check the server performance statistics. You can use the directory server statistics to calculate server throughput.
To search for server status, run the ldapsearch command
with the cn=monitor base:
ldapsearch -h ldap_host -p port -s base -b cn=monitor "objectclass=*"
The command returns several statistics. For a directory server,
you can check the opsinitiated statistic for monitoring
performance. It indicates the number of LDAP operations that were
initiated after the server started.
The ldapsearch command itself accounts for three operations. The following formula can be used to determine the throughput for interval:
throughput for interval =
(opsinitiated(at stop time) - opsinitiated(at start time) - 3) /
(stop_time - start_time)