Monitoring the Directory Server from the Command Line
383
Table Header
Description
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.
Table 13.5. Global Database Cache Information
13.3.2. Monitoring the Directory Server from the Command Line
The Directory Server's current activities can be monitored using LDAP tools such as
ldapsearch
3
,
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 B.2, “Using ldapsearch”
.
Monitoring the server's activities using
ldapsearch
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.
opentime
— The time this connection was
opened.
opsinitiated
— The number of operations initiated
by this connection.
opscompleted
— The number of operations
completed.
The 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 (32-bit); directories for other platforms are listed in
Section 1.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
-x
argument to disable SASL and allow simple authentication.
Summary of Contents for DIRECTORY SERVER 8.0
Page 18: ...xviii ...
Page 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Page 30: ...12 ...
Page 112: ...94 ...
Page 128: ...110 ...
Page 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Page 224: ...206 ...
Page 324: ...306 ...
Page 334: ...316 ...
Page 358: ...340 ...
Page 410: ...392 ...
Page 420: ...402 ...
Page 444: ...426 ...
Page 454: ...436 ...
Page 464: ...446 ...
Page 484: ...466 ...
Page 512: ...494 ...
Page 522: ...504 ...