check concurrent connection by IP

List all IP, that connecting to 160.45.32.*:80 that more than 20


netstat -pan | grep 160.45.32.[0-9]*:80| awk '{print $5}' | awk -F:  '{print $1}' |  sort | uniq -c | sort -n  | grep '^ *[2-9][0-9][0-9]* ' | awk '{print $2}'

Leave a Reply