Monday, January 26, 2009

Count the connection and sort by IP in Linux

Count the connection and sort by ip : -
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n





0 comments: