How to stop watchdog from shell?

For example:

# /usr/local/psa/admin/bin/modules/watchdog/wdservice monit stop /usr/local/psa/etc/modules/watchdog/monitrc
# /usr/local/psa/admin/bin/modules/watchdog/wdservice monit start /usr/local/psa/etc/modules/watchdog/monitrc

# /usr/local/psa/admin/bin/modules/watchdog/wdservice --help
Usage: wdservice <service_name> <command> <cfg_file>
<service_name> name watchdog's service ('monit' or 'wdcollect')
<command> action ('start' or 'stop')
<cfg_file> service configuration file
 
Back
Top