This displays the number of open connections to port 80 on a server, dumping the ip address/connection count pairs in ascending order.
netstat -anlp | grep :80 | awk '{print $5}' | awk -F: '{print $1}' | sort | uniq -c | sort -n
This can be useful in combination with grep1 searches performed on
httpd fullstatus
to determine if a DOS attack is being performed on a server.