Interview Prep/Networking/Rapid-Fire Commands

Rapid-fire: how do you find retransmits and errors on the NIC and kernel?

IntermediateProductionRapid-Fire Commands
Answer
nstat -az | grep -E 'TcpRetransSegs|TcpExtListenDrops|TcpExtTCPTimeouts'
ip -s -s link show eth0
ethtool -S eth0 | grep -iE 'drop|err|exceeded'
All Networking questions Roadmap: Networking for DevOps

More on Rapid-Fire Commands