Monitoring Databases From The Command Line - Netscape DIRECTORY SERVER 6.02 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Monitoring Database Activity
Database Performance Monitoring - Database File-Specific table (Continued)
Table 12-7
Performance Metric
Cache misses
Pages read in
Pages written out

Monitoring Databases From the Command Line

You can monitor your directory's database activities from any LDAP client by
performing a search operation with the following characteristics:
Search for attribute
Search base:
cn=plugins, cn=config,
that you want to monitor
Search scope:
For example:
ldapsearch -h directory.example.com -s base -b
"cn=monitor,cn=Example,cn=ldbm database,cn=plugins, cn=config"
"objectclass=*"
In this example, the ldapsearch operation looks for the
information on searching the directory, see "Using ldapsearch," on page 504.
When you monitor your server's activities, you see the following information:
database
readonly
that the server is not in read-only mode,
mode.
entrycachehits
hits in Table 12-5 on page 405.
entrycachetries
tries in Table 12-5 on page 405.
entrycachehitratio
cache hit ratio," on page 406 in Table 12-5.
408
Netscape Directory Server Administrator's Guide • May 2002
Current Total
Number of times that a search result failed to hit the cache on this specific
file. That is, a search that required data from this file was performed and the
required data could not be found in the cache.
Indicates the number of pages brought to the cache from this file.
Indicates the number of pages for this file written from cache to disk.
objectClass=*
cn=monitor,cn=database_instance,cn=ldbm database,
where database_instance is the name of the database
base
: Identifies the type of database you are currently monitoring.
: Indicates whether the database is in read-only mode.
: Provides the same information as described in Entry cache
: Provides the same information as described in Entry cache
: Provides the same information as described in "Entry
database. For
Example
indicates that it is in read-only
1
indicates
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents