help: how to find what .php file useing cpu and memory ?

nikolaaa

Registered
Nov 8, 2006
2
0
151
I have problem with my virtaul server. It's going out of ram.
How to find which scripts use more memory?
I have 5-7 sites on that server but only two are very busy.
I guess that problem is in one of script on my sites:
phpbb forum,
phpadsnew banner script,
my cms script or
phparcadescript (games script)...


Can you tell me how to find which script or which part of script useing lot of mysql queries and cpu time?


I have "Virtuozzo Power Panel (VZPP)", "Web Host Manager (WHM)", cPanel and ssh root access.