SysProc class.
Wrapper of psutil.Process
class.
This class that only exposes necessary functionalities to easily manage shell processes.
Functions
Return all the chlidren of process recursively.
Return type:
List |
Return type:
bool |
Return type:
bool |
Get process statistics
Return type:
dict |
Wait for a process PID to terminate
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
timeout | Any |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
cmd | Any |
Return type:
SysProc |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
pid | Any |
Return type:
SysProc |