Can a normal member (not an admin) of a shared webserver with (limited) SSH access run, monitor and stop a PHP script through SSH? If so, how would all three actions be done by the user?
I tried to use the command “top”, but it only listed actual top level processes, not PHP scripts. I have also managed to start a PHP script using the commands provided in this SO question. But what about termination and monitoring of the currently running PHP scripts?
AFAIK you can not as the script runs under different user than the one you can log into via SSH.