summaryrefslogtreecommitdiffstats
path: root/usr.sbin/watchdogd
diff options
context:
space:
mode:
authorjoel <joel@FreeBSD.org>2014-02-08 13:37:02 +0000
committerjoel <joel@FreeBSD.org>2014-02-08 13:37:02 +0000
commit8abe91ebd28a620a1de1a1b0d2faf8f0d141d550 (patch)
tree0371cd11f8766f49a70e168fcfcd47bd2c4bbe68 /usr.sbin/watchdogd
parent6300af606ed8039fe681ae42ae5ddb1804840cb0 (diff)
downloadFreeBSD-src-8abe91ebd28a620a1de1a1b0d2faf8f0d141d550.zip
FreeBSD-src-8abe91ebd28a620a1de1a1b0d2faf8f0d141d550.tar.gz
mdoc: minor paragraph fixes.
Diffstat (limited to 'usr.sbin/watchdogd')
-rw-r--r--usr.sbin/watchdogd/watchdogd.812
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.sbin/watchdogd/watchdogd.8 b/usr.sbin/watchdogd/watchdogd.8
index 6176a20..d50a964 100644
--- a/usr.sbin/watchdogd/watchdogd.8
+++ b/usr.sbin/watchdogd/watchdogd.8
@@ -125,42 +125,35 @@ Do not fork.
When this option is specified,
.Nm
will not fork into the background at startup.
-.Pp
.It Fl S
Do not send a message to the system logger when the watchdog command takes
longer than expected to execute.
The default behaviour is to log a warning via the system logger with the
LOG_DAEMON facility, and to output a warning to standard error.
-.Pp
.It Fl w
Complain when the watchdog script takes too long.
This flag will cause watchdogd to complain when the amount of time to
execute the watchdog script exceeds the threshold of 'sleep' option.
-.Pp
.It Fl -pretimeout Ar timeout
Set a "pretimeout" watchdog.
At "timeout" seconds before the watchdog will fire attempt an action.
The action is set by the --pretimeout-action flag.
The default is just to log a message (WD_SOFT_LOG) via
.Xr log 9 .
-.Pp
.It Fl -pretimeout-action Ar action
Set the timeout action for the pretimeout.
See the section
.Sx Timeout Actions .
-.Pp
.It Fl -softtimeout
Instead of arming the various hardware watchdogs, only use a basic software
watchdog.
The default action is just to
.Xr log 9
a message (WD_SOFT_LOG).
-.Pp
.It Fl -softtimeout-action Ar action
Set the timeout action for the softtimeout.
See the section
.Sx Timeout Actions .
-.Pp
.El
.Sh Timeout Actions
The following timeout actions are available via the
@@ -173,25 +166,22 @@ flags:
Call
.Xr panic 9
when the timeout is reached.
-.Pp
.It Ar ddb
Enter the kernel debugger via
.Xr kdb_enter 9
when the timeout is reached.
-.Pp
.It Ar log
Log a message using
.Xr log 9
when the timeout is reached.
-.Pp
.It Ar printf
call the kernel
.Xr printf 9
to display a message to the console and
.Xr dmesg 8
buffer.
-.Pp
.El
+.Pp
Actions can be combined in a comma separated list as so:
.Ar log,printf
which would both
OpenPOWER on IntegriCloud