mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-31 20:29:52 +00:00
lnstat, nstat, ifstat: update man pages
New json option
This commit is contained in:
parent
a4f9e8df37
commit
f3abcfed46
@ -33,6 +33,9 @@ Statistics file to use.
|
||||
.B \-i, \-\-interval <intv>
|
||||
Set interval to 'intv' seconds.
|
||||
.TP
|
||||
.B \-j, \-\-json
|
||||
Display results in JSON format
|
||||
.TP
|
||||
.B \-k, \-\-keys k,k,k,...
|
||||
Display only keys specified.
|
||||
.TP
|
||||
|
||||
@ -15,33 +15,35 @@ and
|
||||
are simple tools to monitor kernel snmp counters and network interface statistics.
|
||||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
-h -?
|
||||
.B \-h, \-\-help
|
||||
Print help
|
||||
.TP
|
||||
-v -V
|
||||
.B \-V, \-\-version
|
||||
Print version
|
||||
.TP
|
||||
-z
|
||||
.B \-z, \-\-zero
|
||||
Dump zero counters too. By default they are not shown.
|
||||
.TP
|
||||
-r
|
||||
.B \-r, \-\-reset
|
||||
Reset history.
|
||||
.TP
|
||||
-n
|
||||
.B \-n, \-\-nooutput
|
||||
Do not display anything, only update history.
|
||||
.TP
|
||||
-a
|
||||
.B \-a, \-\-ignore
|
||||
Dump absolute values of counters. The default is to calculate increments since the previous use.
|
||||
.TP
|
||||
-s
|
||||
.B \-s, \-\-noupdate
|
||||
Do not update history, so that the next time you will see counters including values accumulated to the moment of this measurement too.
|
||||
.B \-j, \-\-json
|
||||
Display results in JSON format.
|
||||
.TP
|
||||
-d <INTERVAL>
|
||||
.B \-d, \-\-interval <INTERVAL>
|
||||
Run in daemon mode collecting statistics. <INTERVAL> is interval between measurements in seconds.
|
||||
.TP
|
||||
-t <INTERVAL>
|
||||
|
||||
Time interval to average rates. Default value is 60 seconds.
|
||||
.TP
|
||||
|
||||
.SH SEE ALSO
|
||||
lnstat(8)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user