Skip to content

Apache

How to check all the apache httpd processes in Linux

When we want to find a list of processes running on a Linux box, we use.

ps -fax
Now apply the grep command to filter out only httpd process list.
ps -fax | grep httpd

or

ps -ef | grep httpd

To know the number of httpd processes running apply ‘wc -l’ command like

ps -fax | grep httpd | wc -l
ps -ef | grep httpd | wc -l