Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I aggregate all Apache HTTPD processes' CPU time usage to be able to compare them with other running processes' (MySQL, Java, ...)? Or how much CPU time does HTTPD needs compared to MySQL for example?

"ps --cumulative", "top -S", "pidstat -T CHILD" does not help because cumulated cpu times only include exited child processes' time, and httpd processes are living quite long.

Is there an existing utility for this or I have to make one?

share|improve this question
    
What about to use mod_status as I suggested to this question serverfault.com/questions/516484/… –  JeanPijon Jul 7 '13 at 21:00

1 Answer 1

up vote 0 down vote accepted

The Apache server status will show you the cumulative process time(s):

http://httpd.apache.org/docs/2.2/mod/mod_status.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.