Deleted Added
full compact
watchdogd.8 (116874) watchdogd.8 (126383)
1.\" Copyright (c) 2004 Poul-Henning Kamp <phk@FreeBSD.org>
1.\" Copyright (c) 2003 Sean M. Kelly <smkelly@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
2.\" Copyright (c) 2003 Sean M. Kelly <smkelly@FreeBSD.org>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

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
24.\" SUCH DAMAGE.
25.\"
25.\" $FreeBSD: head/usr.sbin/watchdogd/watchdogd.8 116874 2003-06-26 09:50:52Z smkelly $
26.\" $FreeBSD: head/usr.sbin/watchdogd/watchdogd.8 126383 2004-02-28 20:56:35Z phk $
26.\"
27.Dd June 25, 2003
28.Dt WATCHDOGD 8
29.Os
30.Sh NAME
31.Nm watchdogd
27.\"
28.Dd June 25, 2003
29.Dt WATCHDOGD 8
30.Os
31.Sh NAME
32.Nm watchdogd
32.Nd Software watchdog daemon
33.Nd Watchdog daemon
33.Sh SYNOPSIS
34.Nm
35.Op Fl d
34.Sh SYNOPSIS
35.Nm
36.Op Fl d
37.Op Fl e Ar cmd
36.Op Fl I Ar file
38.Op Fl I Ar file
39.Op Fl s Ar sleep
40.Op Fl t Ar timeout
37.Sh DESCRIPTION
38The
39.Nm
41.Sh DESCRIPTION
42The
43.Nm
40utility interfaces with the kernel's software watchdog facility to ensure
44utility interfaces with the kernel's watchdog facility to ensure
41that the system is in a working state.
42If
43.Nm
44is unable to interface with the kernel over a specific timeout,
45the kernel will take actions to assist in debugging or restarting the computer.
46.Pp
45that the system is in a working state.
46If
47.Nm
48is unable to interface with the kernel over a specific timeout,
49the kernel will take actions to assist in debugging or restarting the computer.
50.Pp
51If
52.Fl e Ar cmd
53is specified,
54.Nm
55will attempt to execute this command with
56.Xr system 3
57and only if the command returns with a zero exit code will the
58watchdog be reset.
59If
60.Fl e Ar cmd
61is not specified the daemon will perform a trivial filesystem
62check instead.
63.Pp
64The
65.Fl -s Ar sleep
66argument can be used to control the sleep period between each execution
67of the check and defaults to one second.
68.Pp
69The
70.Fl -t Ar timeout
71specifies the desired timeout period in seconds.
72.Pp
47One possible circumstance which will cause a watchdog timeout is an interrupt
48storm.
49If this occurs,
50.Nm
51will no longer execute and thus the kernel's watchdog routines will take
52action after a configurable timeout.
53.Pp
54Upon receiving the

--- 20 unchanged lines hidden (view full) ---

75will not fork into the background at startup.
76.El
77.Sh FILES
78.Bl -tag -width "/var/run/watchdogd.pid" -compact
79.It Pa /var/run/watchdogd.pid
80.El
81.Sh SEE ALSO
82.Xr watchdog 4 ,
73One possible circumstance which will cause a watchdog timeout is an interrupt
74storm.
75If this occurs,
76.Nm
77will no longer execute and thus the kernel's watchdog routines will take
78action after a configurable timeout.
79.Pp
80Upon receiving the

--- 20 unchanged lines hidden (view full) ---

101will not fork into the background at startup.
102.El
103.Sh FILES
104.Bl -tag -width "/var/run/watchdogd.pid" -compact
105.It Pa /var/run/watchdogd.pid
106.El
107.Sh SEE ALSO
108.Xr watchdog 4 ,
83.Xr sysctl 8
109.Xr watchdog 8 ,
110.Xr watchdog 9 ,
84.Sh AUTHORS
85.An -nosplit
86The
87.Nm
88utility and manual page were written by
111.Sh AUTHORS
112.An -nosplit
113The
114.Nm
115utility and manual page were written by
89.An Sean Kelly Aq smkelly@FreeBSD.org .
116.An Sean Kelly Aq smkelly@FreeBSD.org
117and
118.An Poul-Henning Kamp Aq phk@FreeBSD.org .
90.Pp
91Some contributions made by
92.An Jeff Roberson Aq jeff@FreeBSD.org .
93.Sh HISTORY
94The
95.Nm
96utility appeared in
97.Fx 5.1 .
119.Pp
120Some contributions made by
121.An Jeff Roberson Aq jeff@FreeBSD.org .
122.Sh HISTORY
123The
124.Nm
125utility appeared in
126.Fx 5.1 .