For versions from v2016.1.0 and above the "lockwatch" script can be enabled using the web client "Daemon Process Maintenance" screen.
For versions from v2012.1.2 to v9.0.0 inclusive the following steps can be followed,
1. Login to the Dispatcher application server (using "PuTTY" or similar).
2. Check to ensure that the script isn't already running: ps -ef | grep lockwatch | grep -v grep
3. Start the "lockwatch" script as a background process: nohup $DCS/server/bin/lockwatch.sh >> $DCS_TMPDIR/lockwatch.out 2>&1 &
Unless specified otherwise by the "-d" parameter, the "lockwatch" script will write records of blocking locks to directory "$HOME/locklogfiles". |