aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/watchdogd
diff options
context:
space:
mode:
authorJoel Dahl <joel@FreeBSD.org>2014-02-08 13:37:02 +0000
committerJoel Dahl <joel@FreeBSD.org>2014-02-08 13:37:02 +0000
commit7e700c30d24694a2e3da34e763eb33f40c662442 (patch)
tree0371cd11f8766f49a70e168fcfcd47bd2c4bbe68 /usr.sbin/watchdogd
parent3d9335a67ef22aa709b7854dbb4ee266af4f52f8 (diff)
downloadsrc-7e700c30d24694a2e3da34e763eb33f40c662442.tar.gz
src-7e700c30d24694a2e3da34e763eb33f40c662442.zip
mdoc: minor paragraph fixes.
Notes
Notes: svn path=/head/; revision=261634
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 6176a2066741..d50a964cb994 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