What do `ethtool`, `ip -s link` and `/proc/net/dev` show?
IntermediateConceptCommand-Line Tools & Diagnostics
Answer
Interface-level counters: packets, bytes, errors, drops, overruns and collisions. ethtool -S eth0 adds driver stats (on AWS ENA, bw_in_allowance_exceeded and pps_allowance_exceeded reveal instance-level throttling).
ip -s link show eth0
ethtool -S eth0 | grep -E 'exceeded|drop'
Incrementing allowance_exceeded counters mean you need a bigger instance type, not tuning.
More on Command-Line Tools & Diagnostics
How do you check if a remote port is open?BeginnerHow do you list listening ports and the processes that own them?BeginnerWhat does `ping` tell you and what does it not?BeginnerHow does traceroute work and how do you read the output?BeginnerWhat is mtr and why is it better than traceroute?IntermediateHow do you query DNS with dig and read the answer?Beginner