• zea@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    3
    ·
    22 days 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.