summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-08-09 09:30:14 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-08-09 09:30:14 +0000
commit5c3cc2ea7216ce666c93f190768d8cc9240098aa (patch)
tree2d0bf9ea94de84db2782f9e63b9c4345a7eaba48
parent460de2f9364ad0454ea718808b46cf4c4dacc768 (diff)
use a standard options list, and various other minor tweaks;
help + ok mbalmer@
-rw-r--r--usr.sbin/watchdogd/watchdogd.848
1 files changed, 36 insertions, 12 deletions
diff --git a/usr.sbin/watchdogd/watchdogd.8 b/usr.sbin/watchdogd/watchdogd.8
index 41e9265cdf4..66e99355375 100644
--- a/usr.sbin/watchdogd/watchdogd.8
+++ b/usr.sbin/watchdogd/watchdogd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: watchdogd.8,v 1.1 2005/08/08 12:08:56 mbalmer Exp $
+.\" $OpenBSD: watchdogd.8,v 1.2 2005/08/09 09:30:13 jmc Exp $
.\"
.\" Copyright (c) 2005 Marc Balmer <marc@msys.ch>
.\"
@@ -27,21 +27,45 @@
.Op Fl p Ar period
.Sh DESCRIPTION
.Nm
-is a daemon to periodically retrigger the watchdog timer device from
-userland. The watchdog timeout period and the retrigger
-interval can be specified on the command line. The period defaults to
-30 seconds. If no interval is specified, the value of the period divided
-by three is used. The daemon will detach from the controlling terminal
-and run in the background unless the
-.Fl d
-command line option is set.
+is a daemon to periodically retrigger the
+.Xr watchdog 4
+timer device from userland.
+After every
+.Ar interval
+seconds,
+.Nm
+resets the hardware timer to
+.Ar period .
+.Pp
+The options are as follows:
+.Bl -tag -width Ds
+.It Fl d
+Do not daemonize.
+If this option is specified,
+.Nm
+will run in the foreground.
+.It Fl i Ar interval
+Specify how often, in seconds,
+.Nm
+should retrigger the hardware timer.
+If no interval is specified,
+the value of
+.Ar period
+(see below)
+divided by three is used.
+.It Fl p Ar period
+Set the hardware timer to expire in
+.Ar period
+seconds.
+The default is 30 seconds.
+.El
.Sh SEE ALSO
-.Xr watchdog 4 ,
.Xr elansc 4 ,
-.Xr geodesc 4
+.Xr geodesc 4 ,
+.Xr watchdog 4
.Sh HISTORY
The
.Nm
-program
+program
first appeared in
.Ox 3.8 .