Class Process (1.15.0)

Stay organized with collections Save and categorize content based on your preferences.
Process(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents an operating system process.


name str
The process name visible in utilities like ``top`` and ``ps``; it can be accessed via ``/proc/[pid]/comm`` and changed with ``prctl(PR_SET_NAME)``.
File information for the process executable.
libraries Sequence[]
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 Sequence[str]
Process arguments as JSON encoded strings.
arguments_truncated bool
True if ``args`` is incomplete.
env_variables Sequence[]
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.


builtins.object > proto.message.Message > Process