I have some scripts that do a data mining job, and in some cases need to run long processes that can consume a lot of CPU. I need to discover a command via SSH to monitor all running PHP scripts. Something like:
watch ps -F -C php-cgi ...
But for me it does not work.