Interview Prep/Networking/Command-Line Tools & Diagnostics

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.

All Networking questions Roadmap: Networking for DevOps

More on Command-Line Tools & Diagnostics