HTTP connection count per IP

On Ubuntu server you can check connections to your server using command:

netstat -na

to check number of http connections per IP address use

netstat -anp | grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n