NFS Services Administrator's Guide

Troubleshooting NFS Services
Logging and Tracing of NFS Services
Chapter 8 341
NFS Logging
You can configure logging for the following NFS daemons:
rpc.mountd
rpc.statd
rpc.lockd
Each message logged by these daemons can be identified by the date,
time, host name, process ID, and name of the daemon that generated the
message. You can direct logging messages from all these NFS daemons to
the same file.
To Control the Size of Log Files
Log files grow without bound, using up disk space. You might want to
create a cron job to truncate your log files regularly. Following is an
example crontab entry that empties the log file at 1:00 AM every
Monday, Wednesday, and Friday:
0 1 * * 1,3,5 cat /dev/null > log_file
For more information, type man 1M cron or man 1 crontab at the
HP-UX prompt.