Server status, replication status, resource usage, and other monitoring information is available through DSCC.
cn=monitor, cn=ldbm database, cn=plugins, cn=config
dbName is the database name of the suffix that you want to monitor. Note that except for information about each connection, by default, the cn=monitor entry is readable by anyone, including clients bound anonymously.
The following example shows how to view the general server statistics:
$ ldapsearch -h host -p port -D cn=admin,cn=Administrators,cn=config -w - \ -s base -b "cn=monitor" "(objectclass=*)"
For a description of all monitoring attributes that are available in these entries, see Directory ServerMonitoring Attributes in Sun Java System Directory Server Enterprise Edition 6.2 Reference.
Many of the parameters that can be monitored reflect Directory Server performance, and are influenced by configuration and tuning. For more information about each of the configurable attributes, see the attribute man pages in Sun Java System Directory Server Enterprise Edition 6.2 Man Page Reference.