HP-UX Directory Server 8.1 administrator guide
Table 14-11 Directory server monitoring attributes (continued)
DescriptionAttribute
The maximum number of directory entries that can be maintained in the entry
cache. This value is managed by the Maximum Entries in Cache setting. See
“Tuning database performance” for information on changing this value using
the Directory Server Console.
maxentrycachesize
The number of times the server could process a request by obtaining data
from the cache rather than by going to the disk.
dbcachehits
The total number of requests performed on the directory since server startup.dbcachetries
The ratio of cache tries to successful cache hits. The closer this number is to
100%, the better.
dbcachehitratio
The number of pages read from disk into the cache.dbcachepagein
The number of pages written from the cache back to disk.dbcachepageout
The number of read-only pages discarded from the cache to make room for
new pages. Pages discarded from the cache have to be written to disk, possibly
affecting server performance. The lower the number of page evicts the better.
dbcacheroevict
The number of read-write pages discarded from the cache to make room for
new pages. This value differs from Pages Written Out in that these are
discarded read-write pages that have not been modified. Pages discarded
from the cache have to be written to disk, possibly affecting server
performance. The lower the number of page evicts the better.
dbcacherwevict
The name of the file. number provides a sequential integer identifier (starting
at 0) for the file. All associated statistics for the file are given this same
numerical identifier.
dbfilename-number
The number of times that a search result resulted in a cache hit on this specific
file. That is, a client performs a search that requires data from this file, and
the directory obtains the required data from the cache.
dbfilecachehit-number
The 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.
dbfilecachemiss-number
The number of pages brought to the cache from this file.
dbfilepagein-number
The number of pages for this file written from cache to disk.
dbfilepageout-number
14.5 Monitoring database link activity
It is possible to monitor the activity of database links from the command line using the
ldapsearch command line utility to return the monitoring attributes that are required. The
monitoring attributes are stored in the cn=monitor,cn=database_link_name, cn=chaining
database,cn=plugins,cn=config.
For example, the ldapsearch command line utility can be used to retrieve the number of add
operations received by a particular database link. For example, this command monitors a database
link called DBLink1:
ldapsearch -h directory.example.com -p 389 -D "cn=Directory Manager" -w secret -s sub -b
"cn=monitor,cn=DBLink1,cn=chaining database,cn=plugins,cn=config" "(objectclass=*)" nsAddCount
Table 14-12 “Database link monitoring attributes” lists the database link monitoring attributes
that can be monitored.
526 Monitoring server and database activity