Red Hat Directory Server 8.0 Administrator's Guide

3
The LDAP tools referenced in this guide are Mozilla LDAP, installed with Directory Server in the
/usr/lib/mozldap directory on Red Hat Enterprise Linux 5 i386; directories for other platforms are listed in
Section 2, “LDAP Tool Locations”. However, Red Hat Enterprise Linux systems also include LDAP tools from
OpenLDAP. It is possible to use the OpenLDAP commands as shown in the examples, but you must use the -x
argument to disable SASL and allow simple authentication.
Table 13.5. Global Database Cache Information
3.2. Monitoring the Directory Server from the Command Line
The Directory Server's current activities can be monitored using LDAP tools such as
ldapsearch
3
, with the following characteristics:
Search with the attribute filter objectClass=*.
Use the search base cn=monitor; the monitoring attributes for the server are found in the
cn=monitor entry.
Use the search scope base.
For example:
ldapsearch -h directory.example.com -p 389 -D "cn=Directory Manager" -w
password -s base
-b "cn=monitor" "(objectclass=*)"
The monitoring attributes for the Directory Server are found in the cn=monitor entry. For
information on searching the Directory Server, see Section 2, “Using ldapsearch”.
Monitoring the server's activities using ldapsearch shows the following information:
Attribute Description
version Identifies the directory's current version
number.
threads The current number of active threads used for
handling requests. Additional threads may be
created by internal server tasks, such as
replication or chaining.
connection:fd:opentime:opsinitiated:opscompleted:binddn:[rw]Provides the following summary information
for each open connection (only available if
you bind to the directory as Directory
Manager):
fd — The file descriptor used for this
connection.
Monitoring the Directory Server from the
443