Interview Prep/Networking/Command-Line Tools & Diagnostics

What are the most useful `ss` filters and statistics?

IntermediateConceptCommand-Line Tools & Diagnostics
Answer
ss -s                                   # socket summary
ss -tan state established '( dport = :443 )' | wc -l
ss -ti dst 10.0.2.9                     # per-connection RTT, cwnd, retransmits
ss -tn state time-wait | wc -l
ss -lntp                                # check Recv-Q/Send-Q for accept backlog

ss -ti exposes rtt, cwnd, retrans and bytes_acked, enough for quick connection health checks without a packet capture.

All Networking questions Roadmap: Networking for DevOps

More on Command-Line Tools & Diagnostics