Netstat

From DevOps Notebook
Revision as of 10:56, 25 July 2024 by MilosZ (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Get connections per IP sorted

netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n