To see what Ips are connecting to server and how many connections exist from each IP:
netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
To see how many connections each IP on the server is receiving:
netstat -plan |grep :80 | awk '{print $4}' | cut -d: -f1 | sort | uniq -c | sort -n
Get the count of current Active connections to Apache:
netstat -apn | grep :80 | wc -l
all of thr connected ips to :80
netstat -plan |grep :80 | awk '{print $4}' | cut -d: -f1
netstat -ntu | grep :80 | awk '{print $5}' | cut -d' ' -f1 | cut -d: -f1 | sort | uniq -c | sort -n
top 10 ip on http
awk '{print $1}' /usr/local/apache/logs/access_log | sort | uniq -c | sort -rnk1 | head -n 10