← Networking
Linux · Networking

How to check network statistics and interface errors in Linux

Check socket summary counts and per-interface packet, error, and drop counters with ss -s and ip -s link.


Look for network trouble: socket counts, and per-interface errors and drops. Rising error or drop counters point to a bad link, driver, or saturation.

# Socket summary (totals by type)
ss -s

# Per-interface packets, errors, drops
ip -s link

# One interface
ip -s link show <if>

# Protocol counters (retransmits, resets)
nstat
netstat -s | head -n 30
LinuxssStatistics