man: rtacct.8: Fix nstat options
Add missing --pretty and --json options, correct --zero to --zeros and correct the mess around --scan/--interval including broken man page formatting. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
a486d25b9c
commit
71170d854e
|
|
@ -4,7 +4,7 @@
|
||||||
nstat, rtacct - network statistics tools.
|
nstat, rtacct - network statistics tools.
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
Usage: nstat [ -h?vVzrnasd:t: ] [ PATTERN [ PATTERN ] ]
|
Usage: nstat [ -h?vVzrnasd:t:jp ] [ PATTERN [ PATTERN ] ]
|
||||||
.br
|
.br
|
||||||
Usage: rtacct [ -h?vVzrnasd:t: ] [ ListOfRealms ]
|
Usage: rtacct [ -h?vVzrnasd:t: ] [ ListOfRealms ]
|
||||||
|
|
||||||
|
|
@ -21,7 +21,7 @@ Print help
|
||||||
.B \-V, \-\-version
|
.B \-V, \-\-version
|
||||||
Print version
|
Print version
|
||||||
.TP
|
.TP
|
||||||
.B \-z, \-\-zero
|
.B \-z, \-\-zeros
|
||||||
Dump zero counters too. By default they are not shown.
|
Dump zero counters too. By default they are not shown.
|
||||||
.TP
|
.TP
|
||||||
.B \-r, \-\-reset
|
.B \-r, \-\-reset
|
||||||
|
|
@ -39,12 +39,16 @@ Do not update history, so that the next time you will see counters including val
|
||||||
.B \-j, \-\-json
|
.B \-j, \-\-json
|
||||||
Display results in JSON format.
|
Display results in JSON format.
|
||||||
.TP
|
.TP
|
||||||
.B \-d, \-\-interval <INTERVAL>
|
.B \-p, \-\-pretty
|
||||||
|
When combined with
|
||||||
|
.BR \-\-json ,
|
||||||
|
pretty print the output.
|
||||||
|
.TP
|
||||||
|
.B \-d, \-\-scan <INTERVAL>
|
||||||
Run in daemon mode collecting statistics. <INTERVAL> is interval between measurements in seconds.
|
Run in daemon mode collecting statistics. <INTERVAL> is interval between measurements in seconds.
|
||||||
.TP
|
.TP
|
||||||
|
.B \-t, \-\-interval <INTERVAL>
|
||||||
Time interval to average rates. Default value is 60 seconds.
|
Time interval to average rates. Default value is 60 seconds.
|
||||||
.TP
|
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
lnstat(8)
|
lnstat(8)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue