Check open connections for Apache/httpd

Check currently established connections
root# netstat -an | grep 'ESTA' | wc -l
root# netstat -an | grep ':80|:443' | grep -i EST | wc -l

Check currently TIME_WAIT connections
root# netstat -ant | grep TIME_WAIT | wc -l

Check total httpd processes
ps -aux | grep 'httpd|apache' | wc -l

Leave a Reply

Your email address will not be published. Required fields are marked *

*