Service memory accounting (cgroup v2) cgroups

Live RSS vs hard limit for a systemd service; current near max = imminent OOM

cat /sys/fs/cgroup/system.slice/<name>.service/memory.current /sys/fs/cgroup/system.slice/<name>.service/memory.max
more cgroups all 8 commands →