• zea
    link
    fedilink
    arrow-up
    3
    ·
    1 month 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.