SysProc class.
Wrapper of psutil.Process
class.
This class that only exposes necessary functionalities to easily manage shell processes.
Functions
__init__
Initialize self. See help(type(self)) for accurate signature.
process :
Process
get_all_children
Return all the chlidren of process recursively.
Return type :
List
get_process
Return type :
Process
is_alive
Return type :
bool
is_zombie
Return type :
bool
kill
kill_with_children
stats
Get process statistics
Return type :
dict
wait
Wait for a process PID to terminate
timeout :
Any
popen @classmethod
cmd :
Any
Return type :
SysProc
from_pid @staticmethod
pid :
Any
Return type :
SysProc