mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
docs: add examples to manual page
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
42dd80aeac
commit
dd5bc03f12
1 changed files with 18 additions and 0 deletions
|
|
@ -153,6 +153,24 @@ Print version information to standard output and exit successfully.
|
|||
.TP
|
||||
\fB\-h\fR, \fB\-\-help\fR
|
||||
Print help to standard output and exit successfully.
|
||||
.SH EXAMPLES
|
||||
.TP
|
||||
Print ranges header, and analysis.
|
||||
$ dhcpd-pools -L 11 -c dhcpd.conf -l dhcpd.leases
|
||||
.br
|
||||
Ranges:
|
||||
.br
|
||||
shared net name [...]
|
||||
.TP
|
||||
Print shared networks and totals, both headers and results
|
||||
$ dhcpd-pools -L 66 -c dhcpd.conf -l dhcpd.leases shared net name
|
||||
.br
|
||||
[...]
|
||||
.TP
|
||||
Alarming
|
||||
$ dhcpd-pools -c dhcpd.conf -l dhcpd.leases --critical 80.1 --warning 75
|
||||
.br
|
||||
CRITICAL: dhcpd-pools: Ranges; crit: 14 warn: 22 ok: 220 Shared nets; crit: 1 warn: 0 ok: 4
|
||||
.SH FILES
|
||||
.TP
|
||||
/etc/dhcpd.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue