ifstat: Add xstat to ifstat man page
Add documentation about the extended statistics to the ifstat man page. Add ifstat man age to the man8 Makefile Signed-off-by: Nogah Frankel <nogahf@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com>
This commit is contained in:
parent
1c2df61344
commit
aaacdfd570
|
|
@ -18,7 +18,8 @@ MAN8PAGES = $(TARGETS) ip.8 arpd.8 lnstat.8 routel.8 rtacct.8 rtmon.8 rtpr.8 ss.
|
||||||
tc-connmark.8 tc-csum.8 tc-mirred.8 tc-nat.8 tc-pedit.8 tc-police.8 \
|
tc-connmark.8 tc-csum.8 tc-mirred.8 tc-nat.8 tc-pedit.8 tc-police.8 \
|
||||||
tc-simple.8 tc-skbedit.8 tc-vlan.8 tc-xt.8 tc-ife.8 \
|
tc-simple.8 tc-skbedit.8 tc-vlan.8 tc-xt.8 tc-ife.8 \
|
||||||
tc-tunnel_key.8 \
|
tc-tunnel_key.8 \
|
||||||
devlink.8 devlink-dev.8 devlink-monitor.8 devlink-port.8 devlink-sb.8
|
devlink.8 devlink-dev.8 devlink-monitor.8 devlink-port.8 devlink-sb.8 \
|
||||||
|
ifstat.8
|
||||||
|
|
||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,8 @@ ifstat \- handy utility to read network interface statistics
|
||||||
The utility keeps records of the previous data displayed in history files and
|
The utility keeps records of the previous data displayed in history files and
|
||||||
by default only shows difference between the last and the current call.
|
by default only shows difference between the last and the current call.
|
||||||
Location of the history files defaults to /tmp/.ifstat.u$UID but may be
|
Location of the history files defaults to /tmp/.ifstat.u$UID but may be
|
||||||
overridden with the IFSTAT_HISTORY environment variable.
|
overridden with the IFSTAT_HISTORY environment variable. Similarly, the default
|
||||||
|
location for xstat (extended stats) is /tmp/.<xstat name>_ifstat.u$UID.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.B \-h, \-\-help
|
.B \-h, \-\-help
|
||||||
|
|
@ -46,6 +47,15 @@ Report average over the last SECS seconds.
|
||||||
.TP
|
.TP
|
||||||
.B \-z, \-\-zeros
|
.B \-z, \-\-zeros
|
||||||
Show entries with zero activity.
|
Show entries with zero activity.
|
||||||
|
.TP
|
||||||
|
.B \-x, \-\-extended=TYPE
|
||||||
|
Show extended stats of TYPE. Supported types are:
|
||||||
|
|
||||||
|
.in +8
|
||||||
|
.B cpu_hits
|
||||||
|
- Counts only packets that went via the CPU.
|
||||||
|
.in -8
|
||||||
|
|
||||||
.SH ENVIRONMENT
|
.SH ENVIRONMENT
|
||||||
.TP
|
.TP
|
||||||
.B IFSTAT_HISTORY
|
.B IFSTAT_HISTORY
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue