Super User is a question and answer site for computer enthusiasts and power users. 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

Is there any tool that can provide statistics about cpu-usage per virtual host? This way I can understand which is the website that causes 100% spikes in CPU usage. Thanks!

if this is not possible, can I setup apache differently? e.g. each virtualhost running under different user? is this viable or uses much more resources?

share|improve this question

There is no such capability in Apache itself.

You can log processing time of request ( noted as %D ) in some custom log and then dig averages and extremes (no CPU consumption accounted). <0.1s is unnoticeable >10s is unbearable according to w3c recommendations.

share|improve this answer

Your Answer


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.