HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3098, May 2013)

Table 71 Directory server monitoring attributes (continued)
DescriptionAttribute
“Tuning database performance” (page 539) for information on changing this
value using the Directory Server Console.
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
dbcacherwevict
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.
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.7 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 72 (page 528) lists the database link monitoring attributes that can be monitored.
Table 72 Database link monitoring attributes
DescriptionAttribute Name
The number of add operations received.nsAddCount
The number of delete operations received.nsDeleteCount
The number of modify operations received.nsModifyCount
528 Monitoring Server and Database Activity