| by Scott Kilroy | No comments

apache – watch httpd for connected clients

watch httpd for connected clients

watch "netstat -anpt | grep httpd | grep ESTABLISHED|cut -b45-60 | cut -d':' -f1 | sort"

OR

netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1| sort|uniq -c | sort -nk 1

Share Button

Leave a Reply