To find number of httpd connections
July 28th, 2012 |
admin |
netstat -plan|grep :80|awk {’print $5′}|cut -d: -f 1|sort|uniq -c|sort -nk 1
or
netstat -pan | sort +4 | grep TIME_WAIT | awk ‘{print $5}’ | sed -e s/’:.*’//g | sort | uniq -c | sort -k 1 -nr | head -n 20
Incoming search terms:
Comments (0)
Trackbacks - Pingbacks (0)