Resource Abuse on VPS

Ratta

New Member
Hello there, I would like to know how to actually locate a couple of my processes scripts, like where the script exactly is that is raping my resources.

So far I only know how to access it via ssh:
I login then enter "top"
then if anything goes over 50 I type in "kill (process ID)"

However I want to pin point the location of the script that's killing it so I want to see if I actually need that script or not. Is there any way possible to do this?

Note: I have cPanel installed. I've tried tracing it through WHM, but I get "attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted"

Under the command: it says
PHP:
 <defunct>, don't know if that'll help. 

I'll appreciate it if I can get any help here.

Thanks!												when you use top add the -c to show the actual script that is running.


So type [b]top -c [/b]to start top.
 
Back
Top