mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
ip-stats: add page (#18796)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
52337c93d1
commit
d2718923e5
@@ -0,0 +1,36 @@
|
||||
# ip stats
|
||||
|
||||
> Manage and show interface statistics.
|
||||
> More information: <https://manned.org/ip-stats>.
|
||||
|
||||
- Show all interface statistics across all network devices:
|
||||
|
||||
`ip {{[st|stats]}}`
|
||||
|
||||
- Show statistics for a specific network interface:
|
||||
|
||||
`ip {{[st|stats]}} show dev {{network_interface}}`
|
||||
|
||||
- Show link-layer statistics (same as `ip -statistics link show`):
|
||||
|
||||
`ip {{[st|stats]}} show group link`
|
||||
|
||||
- Show hardware offload statistics for all devices:
|
||||
|
||||
`ip {{[st|stats]}} show group offload`
|
||||
|
||||
- Show offload statistics for a specific interface:
|
||||
|
||||
`ip {{[st|stats]}} show dev {{network_interface}} group offload`
|
||||
|
||||
- Show a specific offload subgroup:
|
||||
|
||||
`ip {{[st|stats]}} show dev {{network_interface}} group offload subgroup {{l3_stats|cpu_hit|hw_stats_info}}`
|
||||
|
||||
- Show address-family specific statistics (e.g. MPLS):
|
||||
|
||||
`ip {{[st|stats]}} show group afstats subgroup {{mpls}}`
|
||||
|
||||
- Enable Layer 3 hardware statistics collection on a device:
|
||||
|
||||
`ip {{[st|stats]}} set dev {{network_interface}} l3_stats on`
|
||||
Reference in New Issue
Block a user