w_ctrl - Watchdog Control Program

w_ctrl is a program for issuing control commands to watchdog.

Syntax

    w_ctrl [-f config_file] [-l] [-v] [-o] [-c control_file] [command params]

Options

-f
specifies location of configuration file. If not supplied this defaults to $HOME/config/watchdog.cfg
-l
enter interactive loop mode
-v
enter verbose mode
-o
attach STDOUT and STDERR to the CTRL_STDOUT and CTRL_STDERR variables before performing command(s).
-c control_file
open the specified file, and pass each line read to the watchdog as a command.


Follow this link for the watchdog commands.

When interactive loop mode is entered, any of the commands can be entered along with the command QUIT which terminates loop mode.

NB: Great care should be exercised when entering creating or updating program commands which have command parameters. If any of the parameters are standard options (with a leading '-') then thay should not be entered this way, but should be entered using interactive loop mode, or by pre-entering the details into a text file and issueing a load command.