Linux – How to find the Apache Server process, idle worker value on a running system

How to find the Apache Server process, idle worker value on a running system… here is a solution to the problem.

How to find the Apache Server process, idle worker value on a running system

On a running Linux system.

How can I use the oS command or any other tool to find out the number of StartServers (as of currently running), children, and idle worker processes for an event?

Thanks for your help!!

Solution

apache2ctl status

and

apache2ctl fullstatus

or apachectl, depending on your settings.

See also http://httpd.apache.org/docs/2.2/programs/apachectl.html
You need to enable mod_status.

Related Problems and Solutions