OpenBSD manual page server

Manual Page Search Parameters

WATCHDOGD(8) System Manager's Manual WATCHDOGD(8)

watchdogdwatchdog timer retrigger daemon

watchdogd [-dnq] [-i interval] [-p period]

watchdogd is a daemon to activate and periodically retrigger the watchdog(4) timer device from userland. watchdogd is designed to work in high load environments, where other methods (such as a shell script invoking sysctl(8)) would involve too much overhead.

The basic premise is that after every interval seconds, watchdogd resets the hardware timer to period. See also watchdog(4) for more information on how watchdog timers work.

The options are as follows:

Do not daemonize. If this option is specified, watchdogd will run in the foreground.
interval
Specify how often, in seconds, watchdogd should retrigger the hardware timer. If no interval is specified, the value of period (see below) divided by three is used.
Do not restore the watchdog to its original values once it has been activated. With this set, the system will be rebooted by the watchdog even after a halt(8).
period
Set the hardware timer to expire in period seconds. The default is 30 seconds.
Be quiet. With this option specified, watchdogd will not output a warning message if the underlying hardware adjusted the timeout period.

watchdog(4), sysctl(8)

The watchdogd program first appeared in OpenBSD 3.8.

watchdogd was written by Marc Balmer <mbalmer@openbsd.org>.

July 16, 2013 OpenBSD-current