module documentation

Process monitor

Class DeadProcess 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 Process Basic process representation for L{ProcessMonitor}. Must be subclassed to provide actual start()/stop() implementations.
Class ProcessListener Listener class for L{ProcessMonitor}
Class ProcessMonitor No class docstring; 0/8 instance variable, 12/15 methods documented
Exception FatalProcessLaunch Exception to indicate that a process launch has failed in a fatal manner (i.e. relaunch is unlikely to succeed)
Exception PmonException Undocumented
Function pmon_shutdown Undocumented
Function shutdown_process_monitor @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_process_monitor Undocumented
Class _ProcessKiller Undocumented
Function _kill_process Routine for kill Process p with appropriate logging to screen and logfile
Variable _pmon_counter Undocumented
Variable _pmons Undocumented
Variable _shutdown_lock Undocumented
Variable _shutting_down Undocumented
def pmon_shutdown():

Undocumented

def shutdown_process_monitor(process_monitor):

@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

def start_process_monitor():

Undocumented

def _kill_process(p, errors):

Routine for kill Process p with appropriate logging to screen and logfile

@param p: process to kill @type p: Process @param errors: list of error messages from killed process @type errors: [str]

_pmon_counter: int =

Undocumented

_pmons: list =

Undocumented

_shutdown_lock =

Undocumented

_shutting_down: bool =

Undocumented