Red Hat Directory Server 8.0 Administrator's Guide
• Search with the attribute filter objectClass=*.
• Use the search base cn=monitor,cn=database_instance,cn=ldbm database, cn=plugins,
cn=config. database_instance is the name of the database to monitor.
• Use the search scope base.
For example:
ldapsearch -h directory.example.com -s base -p 389 -D "cn=Directory Manager"
-w password
-b "cn=monitor,cn=Example,cn=ldbm database,cn=plugins, cn=config"
"objectclass=*"
In this example, the ldapsearch operation looks for the Example database. For information on
searching the directory, see Section 2, “Using ldapsearch”.
Monitoring the server's activities shows the following information:
Attribute Description
database Identifies the type of database currently being
monitored.
readonly Indicates whether the database is in read-only
mode; 0 means that the server is not in
read-only mode, 1 means that it is in
read-only mode.
entrycachehits The total number of successful entry cache
lookups. That is, the total number of times the
server could process a search request by
obtaining data from the cache rather than by
going to disk.
entrycachetries The total number of entry cache lookups since
the directory was last started. That is, the total
number of search operations performed
against the server since server startup.
entrycachehitratio Ratio that indicates the number of entry cache
tries to successful entry cache lookups. This
number is based on the total lookups and hits
since the directory was last started. The
closer this value is to 100%, the better.
Whenever a search operation attempts to find
an entry that is not present in the entry cache,
the directory has to perform a disk access to
obtain the entry. Thus, as this ratio drops
towards zero, the number of disk accesses
Directory Server Console
449