Expand description
Per-process measures from /proc/<pid> (SRD-118 §3.8): CPU in
cores, resident memory, threads, and bytes read from and written to
storage.
nmbrs itself is always one of the processes, named nmbrs: how
much of the host the load generator takes is part of reading any
result. sysmon_procs= names others, such as a server under test
on the same host.
Structs§
- Proc
Counters - The cumulative counters and current sizes of one process.
- Proc
Reading - What one process did over a sample window.
- Proc
Target - One process to watch, and the name its series carry.
Enums§
- Proc
Source - How a watched process is found.
Constants§
- OWN_
NAME - The name nmbrs’s own process is reported under.
Functions§
- parse_
io read_bytesandwrite_bytesof/proc/<pid>/io.- parse_
procs - Parse
sysmon_procs=: a comma list ofname:pidorname:/path/to/pidfile. A name is letters, digits,_and-, is given once, and is notnmbrs. - parse_
stat - The fields of
/proc/<pid>/statthe measures need. The command name is in parentheses and may hold spaces and parentheses, so the fields are counted from the last): state is the first after it, which makes utime the 12th, stime the 13th, num_threads the 18th and rss the 22nd. - reading
- One process’s reading between two sets of counters
dt_sapart.