Lines Matching +full:reboot +full:- +full:offset

3 .\" Copyright (c) 2004  Poul-Henning Kamp <phk@FreeBSD.org>
37 .Op Fl -debug
38 .Op Fl -softtimeout
39 .Op Fl -softtimeout-action Ar action
40 .Op Fl -pretimeout Ar timeout
41 .Op Fl -pretimeout-action Ar action
73 argument 'dry-run' will cause watchdog not to arm the system watchdog and
76 reboot if there are problems with the script.
111 with a non-zero value protects against lockup during a reboot by
112 triggering a hardware reset if the software reboot doesn't complete
128 .Bl -tag -width 30m
133 .It Fl d Fl -debug
147 .It Fl -pretimeout Ar timeout
150 The action is set by the --pretimeout-action flag.
153 .It Fl -pretimeout-action Ar action
157 .It Fl -softtimeout
163 .It Fl -softtimeout-action Ar action
170 .Fl -pretimeout-action
172 .Fl -softtimeout-action
174 .Bl -tag -width ".Ar printf "
208 .Bl -tag -width ".Pa /var/run/watchdogd.pid" -compact
225 .Bl -enum -offset indent -compact
227 Set Debug on (--debug)
229 Set the watchdog to trip at 30 seconds. (-t 30)
232 .Bl -enum -offset indent -compact -nested
235 (--softtimeout)
242 (--softtimeout-action log,printf)
245 Use of a pre-timeout:
246 .Bl -enum -offset indent -compact -nested
248 Set a pre-timeout of 15 seconds (this will later trigger a panic/dump).
249 (--pretimeout 15)
256 (--pretimeout-action log,printf)
260 .Bl -enum -offset indent -compact -nested
262 Run "sleep 60" as a shell command that acts as the watchdog (-e 'sleep 60')
264 Warn us when the script takes longer than 1 second to run (-w)
267 .Bd -literal
268 watchdogd --debug -t 30 \\
269 --softtimeout --softtimeout-action log,printf \\
270 --pretimeout 15 --pretimeout-action log,printf \\
271 -e 'sleep 60' -w
274 .Bl -enum -offset indent -compact
276 Set hard timeout to 120 seconds (-t 120)
281 .Bl -enum -offset indent -compact -nested
283 Use of pre-timeout (--pretimeout 60)
285 Specify pre-timeout action (--pretimeout-action log,printf,panic )
289 .Bl -enum -offset indent -compact -nested
291 Run your script (-e '/path/to/your/script 60')
293 Log if your script takes a longer than 15 seconds to run time. (-w -T 15)
296 .Bd -literal
297 watchdogd -t 120 \\
298 --pretimeout 60 --pretimeout-action log,printf,panic \\
299 -e '/path/to/your/script 60' -w -T 15
311 .An -nosplit
317 .An Poul-Henning Kamp Aq Mt phk@FreeBSD.org .