           SPELL=earlyoom
         VERSION=1.9.0
          SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
   SOURCE_URL[0]=https://github.com/rfjakob/${SPELL}/archive/v${VERSION}.tar.gz
     SOURCE_HASH=sha512:bf8e5a71c235df6291fc41639ea3e1a73c625b95f82cb1f84bb52a6583dfaee8d66871ace02058d3eda2c39c138ebf5d0f0cf96d8e1837c48689f05a41972174
      LICENSE[0]=MIT
        WEB_SITE=https://github.com/rfjakob/earlyoom/
         ENTERED=20230426
        KEYWORDS="memory utils oom"
           SHORT="early oom daemon"
cat << EOF
earlyoom checks the amount of available memory and free swap up to 10 times
a second (less often if there is a lot of free memory). By default if both
are below 10%, it will kill the largest process (highest oom_score).
The percentage value is configurable via command line arguments.

When both your available memory and free swap drop below 10% of the total
memory available to userspace processes (=total-shared), it will send the
SIGTERM signal to the process that uses the most memory in the opinion of
the kernel (/proc/*/oom_score).
EOF
