man: improve synopsis and output limit

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2017-01-06 23:34:00 +00:00
parent ea7fd91876
commit 5eae1b41a7
No known key found for this signature in database
GPG key ID: A9553245FDE9B739

View file

@ -1,9 +1,25 @@
.TH DHCPD-POOLS "1" "2015-09-04" "@VERSION@" "User Commands" .TH DHCPD-POOLS "1" "2017-01-06" "@VERSION@" "User Commands"
.SH NAME .SH NAME
dhcpd-pools \- ISC dhcpd pools usage analysis dhcpd-pools \- ISC dhcpd pools usage analysis
.SH SYNOPSIS .SH SYNOPSIS
.B dhcpd-pools .SY dhcpd-pools
[options] .OP \-\-config file
.OP \-\-leases file
.OP \-\-sort nimcptTe
.OP \-\-reverse
.OP \-\-format thHcxXjJ
.OP \-\-output file
.OP \-\-limit nr
.OP \-\-warning percent
.OP \-\-critical percent
.OP \-\-warn\-count number
.OP \-\-crit\-count number
.OP \-\-snet\-alarms
.OP \-\-minsize size
.OP \-\-perfdata
.OP \-\-version
.OP \-\-help
.YS
.SH DESCRIPTION .SH DESCRIPTION
The program analyses ISC dhcpd shared network and pool usage and outputs the The program analyses ISC dhcpd shared network and pool usage and outputs the
results in a format selected by user. results in a format selected by user.
@ -104,29 +120,17 @@ determines which numeric analysis tables to include in the output. The
following values are "OR'd" together to create the desired output. The following values are "OR'd" together to create the desired output. The
default is default is
.IR @OUTPUT_LIMIT@ . .IR @OUTPUT_LIMIT@ .
.PP .IP
.RS .TS
.PD 0 tab(:);
.TP ll.
.B 01 0\fI1\fR:Print ranges
Print ranges 0\fI2\fR:Print shared networks
.TP 0\fI4\fR:Print total summary
.B 02 \fI1\fR0:Print range header
Print shared networks \fI2\fR0:Print shared network header
.TP \fI4\fR0:Print total summary header
.B 04 .TE
Print total summary
.TP
.B 10
Print range header
.TP
.B 20
Print shared network header
.TP
.B 40
Print total summary header
.PD
.RE
.IP .IP
The output limit for total summary has special meaning in The output limit for total summary has special meaning in
.B \-\-warning .B \-\-warning