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 argumentstid: thread IDpmem: percentage of real memory
vsize: virtual memory sizetname: thread namerss: resident set size
pmem: percentage of real memorycputime_user: total CPU seconds (user)data: size of data segment
rss: resident set sizecputime_system: total CPU seconds (system)exe: size of code segment
data: size of data segmentstate: thread statelck: size of locked memory
exe: size of code segmentctx_switches: number of context switcheslib: size of shared libraries
hwm: peak resident set sizepage_faults: number of page faultspin: size of pinned pages
lck: size of locked memorypte: size of page table entries
lib: size of shared librariessize: size of process code + data + stack segments
peak: peak virtual memory sizestk: size of stack segment
pin: size of pinned pagesswap: size of swap space used
pte: size of page table entriescputime_user: total CPU seconds (user)
size: size of process code + data + stack segmentscputime_system: total CPU seconds (system)
stk: size of stack segmentctx_switches: number of context switches
swap: size of swap space usedthreads: number of threads
cputime_user: total CPU seconds (user)page_faults: number of page faults
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
name: process namename: process namepmem: percentage of real memory (FreeBSD only)
cmdline: command with argumentstid: thread IDrss: resident set size
vsize: virtual memory sizetname: thread namesize: size of process (code + data + stack)
pmem: percentage of real memory (FreeBSD only)cputime_user: total CPU seconds (user)tsize: text (code) size
rss: resident set sizecputime_system: total CPU seconds (system)dsize: data size
size: size of process (code + data + stack)state: thread statessize: stack size
tsize: text (code) sizectx_switches: number of context switchescputime_user: total CPU seconds (user)
dsize: data sizeio_read_op: number of times the system had to perform inputcputime_system: total CPU seconds (system)
ssize: stack sizeio_write_op: number of times the system had to perform outputctx_switches: number of context switches
cputime_user: total CPU seconds (user)threads: number of threads (not supported for NetBSD)
cputime_system: total CPU seconds (system)stk: size of stack segment
state: process state (disk sleep/running/sleeping/tracing stop/zombie/other)page_faults: number of page faults
ctx_switches: number of context switchesfds: number of file descriptors (OpenBSD only)
threads: number of threads (not supported for NetBSD)swap: size of swap space used
page_faults: number of page faultsio_read_op: number of times the system had to perform input
fds: number of file descriptors (OpenBSD only)io_write_op: number of times the system had to perform output
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
vmsize: virtual memory sizetid: thread IDwkset: size of process working set
wkset: size of process working setcputime_user: total CPU seconds (user)
cputime_user: total CPU seconds (user)cputime_system: total CPU seconds (system)
cputime_system: total CPU seconds (system)threads: number of threads
threads: number of threadspage_faults: number of page faults
page_faults: number of page faultshandles: number of handles
handles: number of handlesio_read_b: IO bytes read
io_read_b: IO bytes readio_write_b: IO bytes written
io_write_b: IO bytes writtenio_read_op: IO read operations
io_read_op: IO read operationsio_write_op: IO write operations
io_write_op: IO write operationsio_other_b: IO bytes transferred, other than read and write operations
io_other_b: IO bytes transferred, other than read and write operationsio_other_op: IO operations, other than read and write operations
io_other_op: IO operations, other than read and write operations