HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-2491, September 2012)

value for that key is the command line argument value. If there is more than one argument with
the same name, they are converted to a list of values.
--plugin=/path/to/pluginname.py pluginname.arg1=foo pluginname.arg1=bar pluginname.arg2=baz
In the plug-in, this is converted to a dict like this:
{'arg1': ['foo', 'bar'],
'arg2': 'baz'}
post function
The post function is called when the log script is exiting.
def post(): # no arguments
# do something
# no return value
NOTE: Troubleshooting
If the server is hung, not responding, and cannot be terminated:
Check the ds-logpipe.py process. If the process is dead, the server is hung writing to the
log file, waiting for the reader to read it
Restart the logpipe script, or if you have used /etc/sysconfig/dirsrv-NAME, try this
as root.
# (. /etc/opt/dirsrv/config/dirsrv-instance_name)
If output to the pipe is not used, clear the pipe as shown below:
cat /var/opt/dirsrv/slapd-instance_name/log/file.pipe > /dev/null
14.4 Monitoring server activity
The Directory Server's current activities can be monitored from either the Directory Server Console
or the command line. It is also possible to monitor the activity of the caches for all the database.
NOTE:
Some of the counters for Directory Server database attributes monitored by server use 64-bit
integers, even on 32-bit systems:
opsinitiated
opscompleted
entriessent
bytessent
totalconnections
Enabling 64-bit integers for counters is set through the nsslapd-counters configuration attribute,
as described in “Enabling and disabling 64-bit integers for counters” (page 527).
The counters that use 64-bit integers are not configurable; the 64-bit integers are either enabled
for all the allowed counters or disabled for all allowed counters.
14.4.1 Monitoring the server from the Directory Server Console
To monitor the server's activities using Directory Server Console:
14.4 Monitoring server activity 517