Created
October 20, 2012 22:33
-
-
Save elchappo/3925057 to your computer and use it in GitHub Desktop.
Netstat active connections and Ip’s
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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