Which PHP script is overloading my VPS?
To show the arguments passed to the comand, use the next command:
ps v -C php
If you just see something like php somefile.php
, get the current working directory using:
readlink /proc/$PID/cwd
replace $PID
by the PID of the process as shown by ps
.