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.
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