Skip to main content

Module mem

Module mem 

Source
Expand description

Memory utilization from /proc/meminfo, and memory bandwidth from resctrl (SRD-118 §3.3, §3.4).

Structs§

MemInfo
The three /proc/meminfo fields the two utilization measures need, in kB as the kernel reports them.

Functions§

mem_utils
The two memory measures: (committed, everything-including-page-cache).
parse_meminfo
read_membw_bytes
Sum of resctrl MBM total-bytes counters across mon_data groups, when the resctrl filesystem is mounted with monitoring. None when unavailable.