diff options
author | Petr Machata <petrm@nvidia.com> | 2022-05-09 16:00:03 +0200 |
---|---|---|
committer | David Ahern <dsahern@kernel.org> | 2022-05-12 11:08:35 -0600 |
commit | 5a1ad9f8c1e62f080d4249d572f5ebe0ae870c12 (patch) | |
tree | 24827c84e9b121b05603c85df1cb7147c92a3914 | |
parent | d9976d671c37373c91bc56a92706dfe446d131b3 (diff) | |
download | iproute2-5a1ad9f8c1e62f080d4249d572f5ebe0ae870c12.tar.gz |
man: ip-stats.8: Describe groups xstats, xstats_slave and afstats
Add description of the newly-added statistics groups.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
-rw-r--r-- | man/man8/ip-stats.8 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/man/man8/ip-stats.8 b/man/man8/ip-stats.8 index a82fe9f75..26336454e 100644 --- a/man/man8/ip-stats.8 +++ b/man/man8/ip-stats.8 @@ -68,6 +68,20 @@ The following groups are recognized: - A group that contains a number of HW-oriented statistics. See below for individual subgroups within this group. +.ti 14 +.B group xstats +- Extended statistics. A subgroup identifies the type of netdevice to show the +statistics for. + +.ti 14 +.B group xstats_slave +- Extended statistics for the slave of a netdevice of a given type. A subgroup +identifies the type of master netdevice. + +.ti 14 +.B group afstats +- A group for address-family specific netdevice statistics. + .TQ .BR "group offload " subgroups: .in 21 @@ -133,6 +147,39 @@ For example: Note how the l3_stats_info for the selected group is also part of the dump. +.TQ +.BR "group xstats " and " group xstats_slave " subgroups: +.in 21 + +.ti 14 +.B subgroup bridge \fR[\fB suite stp \fR] [\fB suite mcast \fR] +- Statistics for STP and, respectively, IGMP / MLD (under the keyword +\fBmcast\fR) traffic on bridges and their slaves. + +.ti 14 +.B subgroup bond \fR[\fB suite 802.3ad \fR] +- Statistics for LACP traffic on bond devices and their slaves. + +.TQ +.BR "group afstats " subgroups: +.in 21 + +.ti 14 +.B subgroup mpls +- Statistics for MPLS traffic seen on the netdevice. For example: + +# ip stats show dev veth01 group afstats subgroup mpls +.br +3: veth01: group afstats subgroup mpls +.br + RX: bytes packets errors dropped noroute +.br + 0 0 0 0 0 +.br + TX: bytes packets errors dropped +.br + 216 2 0 0 + .SH EXAMPLES .PP # ip stats set dev swp1 l3_stats on |