Show established TCP connections
All established TCP connections with process info
ss -tnp state established
- tool
- linux133 commands
More linux commands
-
ss -tan | awk 'NR>1{print $1}' | sort | uniq -c | sort -rnHow many connections are in ESTABLISHED, TIME_WAIT, etc.
-
mtr --report --tcp --port 443 example.comCombine traceroute and ping; TCP mode to bypass ICMP blocks
-
ping -M do -s 1472 -c 3 8.8.8.8Send DF-bit ping of 1500-byte frames to detect MTU issues
-
iptables -L -n -v --line-numbersAll filter table rules with packet counters and line numbers
-
nft list rulesetFull nftables ruleset in human-readable form