1 .\" Copyright (c) 2004 Poul-Henning Kamp <phk@FreeBSD.org>
2 .\" Copyright (c) 2003 Sean M. Kelly <smkelly@FreeBSD.org>
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
14 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
44 utility interfaces with the kernel's watchdog facility to ensure
45 that the system is in a working state.
48 is unable to interface with the kernel over a specific timeout,
49 the kernel will take actions to assist in debugging or restarting the computer.
55 will attempt to execute this command with
57 and only if the command returns with a zero exit code will the
61 is not specified, the daemon will perform a trivial file system
66 argument can be used to control the sleep period between each execution
67 of the check and defaults to one second.
71 specifies the desired timeout period in seconds.
72 The default timeout is 16 seconds.
74 One possible circumstance which will cause a watchdog timeout is an interrupt
78 will no longer execute and thus the kernel's watchdog routines will take
79 action after a configurable timeout.
87 will first instruct the kernel to no longer perform watchdog checks and then
92 utility recognizes the following runtime options:
93 .Bl -tag -width ".Fl I Ar file"
95 Write the process ID of the
97 utility in the specified file.
100 When this option is specified,
102 will not fork into the background at startup.
105 .Bl -tag -width ".Pa /var/run/watchdogd.pid" -compact
106 .It Pa /var/run/watchdogd.pid
121 utility and manual page were written by
122 .An Sean Kelly Aq smkelly@FreeBSD.org
124 .An Poul-Henning Kamp Aq phk@FreeBSD.org .
126 Some contributions made by
127 .An Jeff Roberson Aq jeff@FreeBSD.org .