Count connections per state linux
How many connections are in ESTABLISHED, TIME_WAIT, etc.
ss -tan | awk 'NR>1{print $1}' | sort | uniq -c | sort -rn
more linux
all 133 commands →
How many connections are in ESTABLISHED, TIME_WAIT, etc.
ss -tan | awk 'NR>1{print $1}' | sort | uniq -c | sort -rn