11 proc.get parameters

Overview

The item proc.get[<name>,<user>,<cmdline>,<mode>] is supported on Linux, Windows, FreeBSD, OpenBSD, and NetBSD.

List of process parameters returned by the item varies depending on the operating system and ‘mode’ argument value.

Linux

The following process parameters are returned on Linux for each mode:

mode=processmode=threadmode=summary
pid: PIDpid: PIDname: process name
ppid: parent PIDppid: parent PIDprocesses: number of processes
name: process namename: process namevsize: virtual memory size
cmdline: command with argumentsuser: user (real) the process runs underpmem: percentage of real memory
user: user (real) the process runs undergroup: group (real) the process runs underrss: resident set size
group: group (real) the process runs underuid: user IDdata: size of data segment
uid: user IDgid: ID of the group the process runs underexe: size of code segment
gid: ID of the group the process runs undertid: thread IDlib: size of shared libraries
vsize: virtual memory sizetname: thread namelck: size of locked memory
pmem: percentage of real memorycputime_user: total CPU seconds (user)pin: size of pinned pages
rss: resident set sizecputime_system: total CPU seconds (system)pte: size of page table entries
data: size of data segmentstate: thread statesize: size of process code + data + stack segments
exe: size of code segmentctx_switches: number of context switchesstk: size of stack segment
hwm: peak resident set sizepage_faults: number of page faultsswap: size of swap space used
lck: size of locked memorycputime_user: total CPU seconds (user)
lib: size of shared librariescputime_system: total CPU seconds (system)
peak: peak virtual memory sizectx_switches: number of context switches
pin: size of pinned pagesthreads: number of threads
pte: size of page table entriespage_faults: number of page faults
size: size of process code + data + stack segments
stk: size of stack segment
swap: size of swap space used
cputime_user: total CPU seconds (user)
cputime_system: total CPU seconds (system)
state: process state (transparently retrieved from procfs, long form)
ctx_switches: number of context switches
threads: number of threads
page_faults: number of page faults

BSD-based OS

The following process parameters are returned on FreeBSD, OpenBSD, and NetBSD for each mode:

mode=processmode=threadmode=summary
pid: PIDpid: PIDname: process name
ppid: parent PIDppid: parent PIDprocesses: number of processes
jid: ID of jail (FreeBSD only)jid: ID of jail (FreeBSD only)vsize: virtual memory size
jname: name of jail (FreeBSD only)jname: name of jail (FreeBSD only)pmem: percentage of real memory (FreeBSD only)
name: process namename: process namerss: resident set size
cmdline: command with argumentsuser: user (real) the process runs undersize: size of process (code + data + stack)
user: user (real) the process runs undergroup: group (real) the process runs undertsize: text (code) size
group: group (real) the process runs underuid: user IDdsize: data size
uid: user IDgid: ID of the group the process runs underssize: stack size
gid: ID of the group the process runs undertid: thread IDcputime_user: total CPU seconds (user)
vsize: virtual memory sizetname: thread namecputime_system: total CPU seconds (system)
pmem: percentage of real memory (FreeBSD only)cputime_user: total CPU seconds (user)ctx_switches: number of context switches
rss: resident set sizecputime_system: total CPU seconds (system)threads: number of threads (not supported for NetBSD)
size: size of process (code + data + stack)state: thread statestk: size of stack segment
tsize: text (code) sizectx_switches: number of context switchespage_faults: number of page faults
dsize: data sizeio_read_op: number of times the system had to perform inputfds: number of file descriptors (OpenBSD only)
ssize: stack sizeio_write_op: number of times the system had to perform outputswap: size of swap space used
cputime_user: total CPU seconds (user)io_read_op: number of times the system had to perform input
cputime_system: total CPU seconds (system)io_write_op: number of times the system had to perform output
state: process state (disk sleep/running/sleeping/tracing stop/zombie/other)
ctx_switches: number of context switches
threads: number of threads (not supported for NetBSD)
page_faults: number of page faults
fds: number of file descriptors (OpenBSD only)
swap: size of swap space used
io_read_op: number of times the system had to perform input
io_write_op: number of times the system had to perform output

Windows

The following process parameters are returned on Windows for each mode:

mode=processmode=threadmode=summary
pid: PIDpid: PIDname: process name
ppid: parent PIDppid: parent PIDprocesses: number of processes
name: process namename: process namevmsize: virtual memory size
user: user the process runs underuser: user the process runs underwkset: size of process working set
sid: user SIDsid: user SIDcputime_user: total CPU seconds (user)
vmsize: virtual memory sizetid: thread IDcputime_system: total CPU seconds (system)
wkset: size of process working setthreads: number of threads
cputime_user: total CPU seconds (user)page_faults: number of page faults
cputime_system: total CPU seconds (system)handles: number of handles
threads: number of threadsio_read_b: IO bytes read
page_faults: number of page faultsio_write_b: IO bytes written
handles: number of handlesio_read_op: IO read operations
io_read_b: IO bytes readio_write_op: IO write operations
io_write_b: IO bytes writtenio_other_b: IO bytes transferred, other than read and write operations
io_read_op: IO read operationsio_other_op: IO operations, other than read and write operations
io_write_op: IO write operations
io_other_b: IO bytes transferred, other than read and write operations
io_other_op: IO operations, other than read and write operations