Enhanced AutoFS Administrator's Guide

Troubleshooting AutoFS
AutoFS Tracing
Chapter 4 67
AutoFS Tracing
Two levels of AutoFS tracing are available:
Detailed (level 3) Includes traces of all AutoFS requests and replies,
mount attempts, timeouts, and unmount attempts. You
can start level 3 tracing while AutoFS is running.
Basic (level 1) Includes traces of all AutoFS requests and replies. You
must restart AutoFS to start level 1 tracing.
Starting AutoFS Detailed Tracing
To start detailed (level 3) tracing, perform the following steps:
1. Log on as root to the NFS client.
2. Issue the following commands:
ps -ef | grep automoutd
kill -SIGUSR2 PID
where
PID
is the process ID returned by the ps command.
Level 3 tracing is appended to the /var/adm/automount.log file.
NOTE The command, kill -SIGUSR2 PID, works if tracing is not already on.
Stopping AutoFS Detailed Tracing
To stop detailed tracing, issue the same commands (that start level 3
tracing) to send the SIGUSR2 signal to automountd. The SIGUSR2 signal
is a toggle that turns tracing on or off depending on its current state.
If you have basic (level 1) tracing turned on when you send the SIGUSR2
signal to automountd, the SIGUSR2 signal turns tracing off.
Starting AutoFS Basic Tracing
To start basic (level 1) tracing, perform the following steps: