Class Process (1.23.2)

Process(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents an operating system process.


name str
The process name, as displayed in utilities like top and ps. This name can be accessed through /proc/[pid]/comm and changed with prctl(PR_SET_NAME).
File information for the process executable.
libraries MutableSequence[]
File information for libraries loaded by the process.
When the process represents the invocation of a script, binary provides information about the interpreter, while script provides information about the script file provided to the interpreter.
args MutableSequence[str]
Process arguments as JSON encoded strings.
arguments_truncated bool
True if args is incomplete.
env_variables MutableSequence[]
Process environment variables.
env_variables_truncated bool
True if env_variables is incomplete.
pid int
The process ID.
parent_pid int
The parent process ID.