Module pid

Source
Expand description

Process-specific information from /proc/[pid]/.

Structs§

Limit
A resource limit, including a soft and hard bound.
Limits
Process limits information See man 2 getrlimit.
Mountinfo
Process mounts information.
Stat
Process status information.
Statm
Process memory usage information.
Status
Process status information.

Enums§

SeccompMode
The Secure Computing state of a process.
State
The state of a process.

Functions§

cwd
Gets path of current working directory for the process with the provided pid.
cwd_self
Gets path of current working directory for the current process.
limits
Returns resource limit information from the process with the provided pid.
limits_self
Returns resource limit information for the current process.
mountinfo
Returns mounts information for the process with the provided pid.
mountinfo_self
Returns mounts information for the current process.
stat
Returns status information for the process with the provided pid.
stat_self
Returns status information for the current process.
statm
Returns memory status information for the process with the provided pid.
statm_self
Returns memory status information for the current process.
status
Returns memory status information for the process with the provided pid.
status_self
Returns memory status information for the current process.