Status and control tool for watchdogd
disable | enable] [
provides a safe way of querying
status and controlling
- Reset reason codes for fail command:
Codes can also be listed at runtime with:
- System OK
- PID failed subscribing
- PID failed kick
- PID failed unsubscribing
- PID failed to meet its deadline
- Forced reset
- Failed, unknown
- File descriptor leak
- Memory leak
- CPU overload
- Show help message.
- PID to use for fail and reset command.
- Enable verbose mode, otherwise commands are silent.
- Show version information.
Short forms of the below commands are allowed, as long as it is unique.
- Clear reset reason.
- Show reset counter, number of reboots since power-on.
- Toggle daemon debug log level. See also the
- Temporarily disable, or enable, daemon.
- Adjust daemon log level: none, err, warn,
notice, info, debug.
- Reload daemon configuration file, like sending SIGHUP, but the command
does not return until
- Alias to
- Perform system reset, with an optional millisecond delay and an optional
message to be stored as the reset reason label (usually process name). A
zero MSEC argument is the same as
omitting the argument, leading to an immediate reset. On systems with
watchdogd will ask Finit to do an
orderly shutdown (stop services, sync and unmount all file systems) before
performing the WDT reset.
- Like the
reset command, records reset
reason (see above
-CODE) but does not reboot unless
MSEC is given. I.e., omitting the
MSEC argument does not have the same
effect as in the
- Query status of daemon and show last reset reason, default command.
- Run built-in tests of process supervisor functionality in daemon. These
tests can be disabled at build time, so they may not be available in the
watchdogctl. The default
test, if none is selected, runs the complete cycle. You may want to run
these tests with the
to enable output.
- Show program version.
- Daemon configuration file. Read once when starting up and on SIGHUP or
- Read to present WDT status and reset reason
- Used to connect to
is an improved version of the
original, created by Michele d'Amico and adapted to uClinux-dist by Mike
Frysinger. It is maintained by Joachim Wiberg at