Skip to content

Instantly share code, notes, and snippets.

@arturoleon
Created March 19, 2013 03:59
Show Gist options
  • Save arturoleon/5193631 to your computer and use it in GitHub Desktop.
Save arturoleon/5193631 to your computer and use it in GitHub Desktop.
List the connections per IP given a specific port (80 in this case).
netstat -plan |grep :80 | awk '{print $5}' |cut -d: -f1 |sort |uniq -c |sort -nr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment