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

Does there exist a way to output a list of currently executing PHP files, in Apache in debian? (and if it is possible, also listing the resources used by that instance).

We are having some performance issues and need some external way -- without touching the php code -- to monitor what file/process of the site is consuming a specific amount of resources.


share|improve this question

Apache has an ExtendedStatus that you can enable that will show you details about the requests it is handling at that moment.

share|improve this answer
i enabled it and tried to see the status with apachectl status but it didn't show me the name of the files, what i'm doing wrong? – shadow_of__soul Jun 15 '11 at 21:20
you should use apachectl fullstatus to see the files being requested – pyasi Jun 16 '11 at 13:08

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.