HP UX Red Hat Direry Server Software manual Monitoring the Directory Server from the Command Line

Models: UX Red Hat Direry Server Software

1 638
Download 638 pages 23.73 Kb
Page 463
Image 463

Monitoring the Directory Server from the

Table 13.5. Global Database Cache Information

3.2. Monitoring the Directory Server from the Command Line

The Directory Server's current activities can be monitored using LDAP tools such as ldapsearch3, with the following characteristics:

Search with the attribute filter objectClass=*.

Use the search base cn=monitor; the monitoring attributes for the server are found in the cn=monitor entry.

Use the search scope base.

For example:

ldapsearch -h directory.example.com -p 389 -D "cn=Directory Manager" -w password -s base

-b "cn=monitor" "(objectclass=*)"

The monitoring attributes for the Directory Server are found in the cn=monitor entry. For information on searching the Directory Server, see Section 2, “Using ldapsearch”.

Monitoring the server's activities usingldapsearch shows the following information:

Attribute

Description

 

 

version

Identifies the directory's current version

 

number.

 

 

threads

The current number of active threads used for

 

handling requests. Additional threads may be

 

created by internal server tasks, such as

 

replication or chaining.

 

 

connection:fd:opentime:opsinitiated:opscompleted:binddn:[rw]

Provides the following summary information

 

for each open connection (only available if

 

you bind to the directory as Directory

 

Manager):

 

fd — The file descriptor used for this

 

connection.

 

 

3The LDAP tools referenced in this guide are Mozilla LDAP, installed with Directory Server in the

/usr/lib/mozldap directory on Red Hat Enterprise Linux 5 i386; directories for other platforms are listed in Section 2, “LDAP Tool Locations”. However, Red Hat Enterprise Linux systems also include LDAP tools from OpenLDAP. It is possible to use the OpenLDAP commands as shown in the examples, but you must use the -xargument to disable SASL and allow simple authentication.

443

Page 463
Image 463
HP UX Red Hat Direry Server Software manual Monitoring the Directory Server from the Command Line