Reading procfs, sysfs and cgroupfs
medium 7 minSome filesystem paths expose live kernel state.
Where it shows up
The same pattern appears across everyday software.
Why two memory dashboards disagree
A dashboard reads machine-wide available memory from a container. It shows headroom immediately before that container receives an OOM kill. Record the process’s cgroup, its memory.current, memory.max and event deltas, and keep the node view as context. A metric needs a scope, a unit and a timestamp before two dashboards can be compared.
Verifying the intervention
Reduce the charged working set or size the group deliberately. Verify event deltas across the next load window. If local events are flat, check effective ancestor limits, process termination status and kernel events for the same timestamp.