Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My CPU average usage is about 0.25 - 0.3.

Is there any way to find out from apache which sites/domains are taking up most of those resources?

I'm on CentOS

share|improve this question

migrated from Nov 1 '09 at 9:33

This question came from our site for computer enthusiasts and power users.

Would this be better on SF? – Larry Oct 31 '09 at 23:49
Don't want to nitpick, but CentOS is Linux, not Unix – Mark Henderson Mar 13 '10 at 9:55

But yes, it should be doable... apachetop might be a good place to start. Then you could try something like awstats. Or, you could maybe use suexec to have different sites run as different users, then compare the processes for each user in top.

If anyone knows a more direct way, I'd love to hear it.

share|improve this answer

You can enable apache2 mod_info ( ), and monitor the most cpu-intensive requests.

share|improve this answer

Your Answer


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