State

Leafs

class System.Processes.Process.State

Bases: Entity

Class Hierarchy: System Processes Process State

This class represents state data.

State parameters related to monitored processes

pid

The process pid

type: int

range: 0..18446744073709551615

config: False

name

The process name

type: str

config: False

args

Current process command line arguments. Arguments with a parameter (e.g., –option 10 or -option=10) should be represented as a single element of the list with the argument name and parameter together. Flag arguments, i.e., those without a parameter should also be in their own list element

type: list of str

config: False

start_time

The time at which this process started, reported as nanoseconds since the UNIX epoch. The system must be synchronized such that the start-time can be reported accurately, otherwise it should not be reported

type: int

range: 0..18446744073709551615

config: False

units: ns

uptime

Amount of time elapsed since this process started

type: int

range: 0..18446744073709551615

config: False

cpu_usage_user

CPU time consumed by this process in user mode

type: int

range: 0..18446744073709551615

config: False

cpu_usage_system

CPU time consumed by this process in kernel mode

type: int

range: 0..18446744073709551615

config: False

cpu_utilization

The percentage of CPU that is being used by the process

type: int

range: 0..100

config: False

memory_usage

Bytes allocated and still in use by the process

type: int

range: 0..18446744073709551615

config: False

units: bytes

memory_utilization

The percentage of RAM that is being used by the process

type: int

range: 0..100

config: False