Show Table of Contents
21.7. Monitoring Database Activity
You can monitor the database's current activities using the command line and the web console.
For information about improving the server performance, see the Red Hat Directory Server Performance Tuning Guide.
21.7.1. Monitoring Databases Using the Command Line
You can monitor database activities using the
dsconf
utility. Using the database suffix, the search targets the monitoring subtree of the LDBM database entry, cn=monitor,cn=
database_name,cn=ldbm database,cn=plugins,cn=config
. This contains all of the monitoring attributes for the that specific database instance.
For example:
# dsconf -D 'cn=Directory Manager' ldap://server.example.com backend monitor --suffix suffix_name
For details about the monitoring attributes, see the corresponding section in the Red Hat Directory Server Configuration, Command, and File Reference.
21.7.2. Monitoring Databases Using the Web Console
To monitor databases in the web console:
- Open the Directory Server user interface in the web console. See Section 1.4, “Logging Into Directory Server Using the Web Console”.
- Select the instance.
- Open themenu.
- Select Database to display general database performance values, or select a suffix to display performance counters for a specific suffix.
To display a short description for a parameter and the corresponding attribute name in the
cn=monitor
entry, hold the mouse cursor over the setting. For further details, see the parameter's description in the Red Hat Directory Server Configuration, Command, and File Reference.