NFS Services Administrator's Guide

Troubleshooting NFS Services
Logging and Tracing of NFS Services
Chapter 8 343
To Start and Stop Basic Logging of rpc.statd and rpc.lockd
To start basic logging of rpc.statd and rpc.lockd (just errors,
warnings, startup, and shutdown), issue the following commands (PID is
a process ID returned by the ps command):
ps -ef | grep lockd
kill PID
ps -ef | grep statd
kill PID
/usr/sbin/rpc.statd -l /var/adm/rpc.statd.log
/usr/sbin/rpc.lockd -l /var/adm/rpc.lockd.log
NOTE Always start rpc.statd before starting rpc.lockd.
To stop basic logging of rpc.statd and rpc.lockd, kill them and restart
them without the -l logfile option.
The rpc.statd and rpc.lockd daemons can share the same log file with
the other NFS daemons.
For more information, type man 1M lockd or man 1M statd at the
HP-UX prompt.