Salesforce

How to configure the "lockwatch" script

« Go Back

Information

 
TitleHow to configure the "lockwatch" script
SummaryHow to configure the "lockwatch" script for automated monitoring of blocking locks.
URL NameHow-to-configure-lockwatch-script
Resolution
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".
 
ProductsDispatcher WMS
ModuleBlocking Locks
Versionv2012.1.2 and above
Error Message Code
Cause
Additional Information
Note that if "lockwatch" is being executed as a background process outside the application then it will need to be restarted if the server is rebooted.
Publication StatusPublished

Powered by