• Nat (she/they)
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    You can write limits to and then poll files in /proc/pressure/ to be notified of resource pressure. Systemd will also set an environment variable for similar files for your cgroup.