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