Monitoring Database Link Activity416 Netscape Directory Server Administrator’s Guide • August 2002Next the following information for each file that makes up your database isdisplayed:• dbfilename-number: Indicates the name of the file. number provides asequential integer identifier (starting at 0) for the file. All associated statisticsfor the file are given this same numerical identifier.• dbfilecachehit-number: Provides the same information as described inCache hits in Table 12-7 on page 414.• dbfilecachemiss-number: Provides the same information as described inCache misses in Table 12-7 on page 414.• dbfilepagein-number: Provides the same information as described in Pagesread in in Table 12-7 on page 414.• dbfilepageout-number: Provides the same information as described in Pageswritten out in Table 12-7 on page 414.Monitoring Database Link ActivityYou can monitor the activity of your database links from the command line usingthe monitoring attributes. Use the ldapsearch command-line utility to return theattribute values that interest you. The monitoring attributes are stored in thefollowing entry: cn=monitor,cn=database_link_name,cn=chainingdatabase,cn=plugins,cn=config.For example, you can use the ldapsearch command-line utility to retrieve thenumber of add operations received by a particular database link called DBLink1.First, type the following to change to the directory containing the utility:cd serverRoot/shared/binThen, run ldapsearch as follows:ldapsearch -h directory.example.com -p 389 -D "cn=Directory Manager"-w secret -s sub -b "cn=monitor,cn=DBLink1,cn=chainingdatabase,cn=plugins,cn=config" "(objectclass=*)" nsAddCountYou can search for the following database link monitoring attributes:NOTE The above command should be typed on a single line. It does notappear on one line here because of page size constraints.