count the apache connections
netstat -nt | grep :80 | wc -l
show number of connections for each ip address
netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort –
netstat -an|awk ‘/tcp/ {print $6}’|sort|uniq -c
count the apache connections
netstat -nt | grep :80 | wc -l
show number of connections for each ip address
netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort –
netstat -an|awk ‘/tcp/ {print $6}’|sort|uniq -c