Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

When I run ps aux I get the following process table that shows how much memory is being used by each one of the subprocess. We can see apache proceess are shown like this:

www-data 26487 0.0 0.9 245476 14920 ? Sl 17:32 0:00 /usr/sbin/apache2 -k start

Where 2687 is the PID but I have no idea if that belongs to either or to or to etc...

How can I know which is the site (for example the ServerName) of those PID showing?

This is how my apache sites are defined of course I am willing to edit my apache sites if needed.

share|improve this question
Describe the problem you're trying to solve; don't ask us how to implement the broken solution you've come up with. – womble Apr 2 '12 at 20:31
up vote 1 down vote accepted


WSGIDaemonProcess foo display-name=%{GROUP}

and when you use 'ps' the mod_wsgi daemon process group processes will show as '(wsgi:foo)'.

Where you have multiple host aliases mapping to same daemon process group however, you will not be able to distinguish how much each is contributing as all handled by same process.

share|improve this answer

A given Apache worker isn't associated with any particular virtual host.

If you want more detailed information on what Apache is doing (including resource usage), you should turn on Apache's status pages and look at the extended status information:

For example, this is what the Apache Foundation's status page looks like:

share|improve this answer
Thankyou, I'll check about this then. – quarry32 Apr 2 '12 at 22:46

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.