module documentation
Process monitor
| Class | |
Container class to maintain information about a process that has died. This container allows us to delete the actual Process but still maintain the metadata |
| Class | |
Basic process representation for L{ProcessMonitor}. Must be subclassed to provide actual start()/stop() implementations. |
| Class | |
Listener class for L{ProcessMonitor} |
| Class | |
No class docstring; 0/8 instance variable, 12/15 methods documented |
| Exception | |
Exception to indicate that a process launch has failed in a fatal manner (i.e. relaunch is unlikely to succeed) |
| Exception | |
Undocumented |
| Function | pmon |
Undocumented |
| Function | shutdown |
@param process_monitor: process monitor to kill @type process_monitor: L{ProcessMonitor} @return: True if process_monitor was successfully shutdown. False if it could not be shutdown cleanly or if there is a problem with process_monitor parameter... |
| Function | start |
Undocumented |
| Class | _ |
Undocumented |
| Function | _kill |
Routine for kill Process p with appropriate logging to screen and logfile |
| Variable | _pmon |
Undocumented |
| Variable | _pmons |
Undocumented |
| Variable | _shutdown |
Undocumented |
| Variable | _shutting |
Undocumented |
@param process_monitor: process monitor to kill @type process_monitor: L{ProcessMonitor} @return: True if process_monitor was successfully shutdown. False if it could not be shutdown cleanly or if there is a problem with process_monitor parameter. shutdown_process_monitor() does not throw any exceptions as this is shutdown-critical code. @rtype: bool