Monitoring Database Link Activity

Attribute

Description

 

 

 

lower the number of page evicts the better.

 

 

dbfilename-number

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.

 

 

dbfilecachehit-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.

 

 

dbfilecachemiss-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.

 

 

dbfilepagein-number

The number of pages brought to the cache

 

from this file.

 

 

dbfilepageout-number

The number of pages for this file written from

 

cache to disk.

 

 

Table 13.11. Directory Server Monitoring Attributes

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 ldapsearch3 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 password -s sub -b

"cn=monitor,cn=DBLink1,cn=chaining database,cn=plugins,cn=config" "(objectclass=*)" nsAddCount

Table 13.12, “Database Link Monitoring Attributes” lists the database link monitoring attributes

which can be monitored.

451

Page 471
Image 471
HP UX Red Hat Direry Server Software manual Monitoring Database Link Activity, Directory Server Monitoring Attributes