diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-12-19 14:44:39 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-12-19 14:44:39 +0000 |
commit | b7967e4597e39c259a2b11894e82cc677f884160 (patch) | |
tree | 3ff8c728173cf9387e74d8ef11c4606b5bc57c99 /usr.sbin/hoststatectl | |
parent | 63df5d348674fdbe34fd02595af65adc8aea2bc9 (diff) |
sort these commands too;
Diffstat (limited to 'usr.sbin/hoststatectl')
-rw-r--r-- | usr.sbin/hoststatectl/hoststatectl.8 | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/hoststatectl/hoststatectl.8 b/usr.sbin/hoststatectl/hoststatectl.8 index af49ee1b338..d6292831ca4 100644 --- a/usr.sbin/hoststatectl/hoststatectl.8 +++ b/usr.sbin/hoststatectl/hoststatectl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hoststatectl.8,v 1.4 2006/12/18 19:48:04 jmc Exp $ +.\" $OpenBSD: hoststatectl.8,v 1.5 2006/12/19 14:44:38 jmc Exp $ .\" .\" Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org> .\" @@ -33,11 +33,12 @@ daemon. .Pp The following commands are available: .Bl -tag -width Ds -.It Cm show Op Cm summary -Show status of services, tables, and hosts. -The keyword -.Cm summary -is optional. +.It Cm host disable Op Ar name | id +Disable a host. +Treat it as though it were always down. +.It Cm host enable Op Ar name | id +Enable the host. +Start checking its health again. .It Cm service disable Op Ar name | id Disable a service. If it has @@ -49,6 +50,11 @@ if applicable \(en backup table disabled as well. Enable a service. Mark the service's main table and \(en if applicable \(en backup table enabled as well. +.It Cm show Op Cm summary +Show status of services, tables, and hosts. +The keyword +.Cm summary +is optional. .It Cm table disable Op Ar name | id Disable a table. Consider all hosts disabled. @@ -60,12 +66,6 @@ table with those of the backup table. Enable a table. Start doing checks for all hosts that aren't individually disabled again. -.It Cm host disable Op Ar name | id -Disable a host. -Treat it as though it were always down. -.It Cm host enable Op Ar name | id -Enable the host. -Start checking its health again. .El .Sh FILES .Bl -tag -width "/var/run/hostated.sockXX" -compact |