Wp.ProcInfo¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Wp.ProcInfo¶
Wp.ProcInfoholds information of a process.- get_arg(index)¶
- Parameters:
index (
int) – the index of the arg- Returns:
the indexed arg of the process information object
- Return type:
Gets the indexed arg of a process information object.
- get_cgroup()¶
- Returns:
the systemd cgroup of the process information object
- Return type:
Gets the systemd cgroup of a process information object.
- get_n_args()¶
- Returns:
the number of args of the process information object
- Return type:
Gets the number of args of a process information object.
- get_parent_pid()¶
- Returns:
the parent PID of the process information object
- Return type:
Gets the parent PID of a process information object.
- get_pid()¶
- Returns:
the PID of the process information object
- Return type:
Gets the PID of a process information object.
- ref()¶
- Returns:
self with an additional reference count on it
- Return type:
Increases the reference count of a process information object.
- unref()¶
Decreases the reference count on self and frees it when the ref count reaches zero.