https://github.com/isc-projects/ethq
Ethernet NIC Queue stats viewer
https://github.com/isc-projects/ethq
Last synced: about 1 year ago
JSON representation
Ethernet NIC Queue stats viewer
- Host: GitHub
- URL: https://github.com/isc-projects/ethq
- Owner: isc-projects
- License: mpl-2.0
- Created: 2018-09-24T09:22:30.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-09-07T10:52:01.000Z (almost 2 years ago)
- Last Synced: 2025-03-31T08:38:46.892Z (about 1 year ago)
- Language: C++
- Size: 105 KB
- Stars: 108
- Watchers: 10
- Forks: 15
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
EthQ
====
Displays an auto-updating per-second count of the number of packets
and bytes being handled by each specified NIC, and on multi-queue NICs
shows the per-queue statistics too.
Usage: `ethq [-g] [-t] [interface ...]`.
With `-t` specified the display just scrolls on the terminal, otherwise
it runs in an auto-refreshing window.
For information about the `-g` flag see "NIC Support", below.
Requirements
------------
This software only runs on Linux. It requires a C++11 compiler and
the NCurses library.
NIC Support
-----------
The format of the names of the statistics values from a NIC is highly
driver specific.
The code currently supports the output from the following NIC drivers:
- Amazon AWS `ena`
- Broadcom `bnx2`, `bnx2x`, `tg3`, `bnxt_en`
- Emulex `be2net`
- Intel `e1000e`, `igb`, `ixgbe`, `i40e`, `iavf`, `ice`
- Mellanox `mlx5_core`, `mlx4_en`
- NXP `fsl_dpaa2_eth`
- RealTek `r8169`
- Solarflare `sfc`
- Virtio `virtio_net`
- VMware `vmxnet3`
The `-g` flag allows for fallback to a generic driver that knows how
to parse statistics in this format:
```
rx_packets: 567425
tx_packets: 274383
rx_bytes: 703224479
tx_bytes: 31313190
```
To request support for additional NICs, please raise a github issue and
include the output of `ethtool -i` and attach the output of `ethtool -S`
for your interface.