watchdogd8
Watchdog timer retrigger daemon
Usage
watchdogd [-dnq]
[-i
interval]
[-p
period]
Overview
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:
-
-d -
Do not daemonize. If this option is specified,
watchdogdwill run in the foreground. -
-i interval -
Specify how often, in seconds,
watchdogdshould retrigger the hardware timer. If no interval is specified, the value of period (see below) divided by three is used. -
-n -
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).
-
-p period -
Set the hardware timer to expire in period seconds. The default is 30 seconds.
-
-q -
Be quiet. With this option specified,
watchdogdwill not output a warning message if the underlying hardware adjusted the timeout period.
Releases
44 releases since OpenBSD 3.8; the text changed 5 times.
-n since OpenBSD 4.1;
-q since OpenBSD 4.0.