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