Monitor process

Hi, is there a way to monitor php process, which will email us when PHP is executed more than xx seconds?


set_time_limit() generates a fatal error if the allowed time elapses, you’d have to search your error log for the fatal errors generated. You can use [URL=“”]set_time_limit() to set the maximum script execution time.

Is this long php process running in the webserver? Or is it run as a separate php process through the php executable directly? Hopefully the process isn’t linked to the webserver process.

What webserver? What operating system?

can’t you just ssh access and then list to see what is running on the server regardless if php or not?