Skip to content

Instantly share code, notes, and snippets.

@elchappo
Created October 20, 2012 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elchappo/3925057 to your computer and use it in GitHub Desktop.
Save elchappo/3925057 to your computer and use it in GitHub Desktop.
Netstat active connections and Ip’s
netstat -antp | awk '$4 ~ /:80$/ {c++;print $5|"cut -f1 -d:|sort |uniq -c|sort -n |tail -n 10"} END {print c}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment