Per-Process Statistics Fields

edit

Per-Process Statistics Fields

edit

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

proc Fields

edit

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

proc.name

edit

type: string

The process name.

proc.username

edit

type: string

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

proc.state

edit

type: string

The process state. For example: "running"

proc.pid

edit

type: int

The process pid.

proc.ppid

edit

type: int

The process parent pid.

proc.cmdline

edit

type: string

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

cpu Fields

edit

CPU-specific statistics per process.

proc.cpu.user

edit

type: int

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

proc.cpu.user_p

edit

type: float

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

proc.cpu.system

edit

type: int

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

proc.cpu.total

edit

type: int

The total CPU time spent by the process.

proc.cpu.start_time

edit

type: string

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

mem Fields

edit

Memory-specific statistics per process.

proc.mem.size

edit

type: int

The total virtual memory the process has.

proc.mem.rss

edit

type: int

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

proc.mem.rss_p

edit

type: float

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

proc.mem.share

edit

type: int

The shared memory the process uses.