A monitor class to check if a given process is running. This can be achieved by consulting a pidfile, or by checking the process status listing for the given process name (the default behaviour).
Located in /monitor-defs.php (line 412)
generic_monitor | --process_monitor
Path to the PID file containing a process ID for the running process. Leave
Name of the process being monitored.
The 'ps' command to use for an 'all processes list. This allows override
The 'ps' command to use for a specific process ID#. This allows override
Defines a new process monitoring object and provides matching info.
Make the check on the time the file was last modified and if this is longer than this->warnsecs ago but less than this->errsecs then issue a warning. Otherwise if it is longer than this->errsecs ago then we issue an error message.
Documentation generated by phpDocumentor 1.3.0RC3