View in real time all PHP scripts running via SSH

4

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.

    
asked by anonymous 18.01.2016 / 04:18

1 answer

0
watch ps u -u USUÁRIO_NOME
  • How many php script is being used
  • Memory and CPU used

Now if all you want is to" Spy on "an existing process.

    
18.01.2016 / 14:53