Home | Trees | Index | Help |
|
---|
Package AccessGrid :: Package Platform :: Package unix :: Module ProcessManager :: Class ProcessManager |
|
Method Summary | |
---|---|
__init__(self)
| |
Kill all processes this manager has created. | |
Kill a single process this manager has created. | |
Return a list of process id's for this process manager. | |
Start a new process. | |
Cleanly shutdown all processes this manager has created. | |
Cleanly shutdown the specified process this manager has created. |
Method Details |
---|
KillAllProcesses(self)Kill all processes this manager has created. @warning: this is not a clean shutdown, but a forced shutdown that may result in system cruft. |
KillProcess(self, pid)Kill a single process this manager has created. @warning: this is not a clean shutdown, but a forced shutdown that may result in system cruft. @param pid: the id of the process to terminate. @type pid: string? integer? |
ListProcesses(self)Return a list of process id's for this process manager. @returns: a list of process id's |
StartProcess(self, command, arglist, detached=1)Start a new process. Command is the name of the command to be started. It can either be a full pathname or a command name to be found on the default path. Arglist is a list of the arguments to the command. |
TerminateAllProcesses(self)Cleanly shutdown all processes this manager has created. |
TerminateProcess(self, pid)Cleanly shutdown the specified process this manager has created. @param pid: the id of the process to terminate. @type pid: string? integer? |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Apr 14 16:39:27 2005 | http://epydoc.sf.net |