Per-Process Statistics Fieldsedit

Per-process statistics that you can get by running the top or ps command on Unix systems.

proc Fieldsedit

Contains per-process statistics like memory usage, CPU usage, and details about each process, such as state, name, pid, and ppid.

proc.nameedit

type: string

The process name.

proc.usernameedit

type: string

The user name of the process owner. Added in 1.2.1.

proc.stateedit

type: string

The process state. For example: "running"

proc.pidedit

type: int

The process pid.

proc.ppidedit

type: int

The process parent pid.

proc.cmdlineedit

type: string

The full command-line used to start the process, including the arguments separated by space.

cpu Fieldsedit

CPU-specific statistics per process.

proc.cpu.useredit

type: int

The amount of CPU time the process spent in user space.

proc.cpu.user_pedit

type: float

The percentage of CPU time the process spent in user space.

proc.cpu.systemedit

type: int

The amount of CPU time the process spent in kernel space.

proc.cpu.totaledit

type: int

The total CPU time spent by the process.

proc.cpu.start_timeedit

type: string

The time when the process was started. Example: "17:45".

mem Fieldsedit

Memory-specific statistics per process.

proc.mem.sizeedit

type: int

The total virtual memory the process has.

proc.mem.rssedit

type: int

The Resident Set Size. The amount of memory the process occupied in main memory (RAM).

proc.mem.rss_pedit

type: float

The percentage of memory the process occupied in main memory (RAM).

proc.mem.shareedit

type: int

The shared memory the process uses.