Is there any way in cPanel to view what PHP scripts and/or user accounts are using the most server resources?

I have a VPS with WHM and maybe 10 cPanel accounts. When I view the "top" in ssh there are quite a few httpd processes spiking to 50% CPU/10% memory and I want to track them down.

link|improve this question

75% accept rate
feedback

1 Answer

You will need to use a cgi handler (suphp or fcgi) for php with suexec enabled so that the php process will be executed with user privileges. You can then see the username itself in the top for php processes.

Hint: Use easyapache to enable suphp and/or fcgi.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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