           SPELL=earlyoom
         VERSION=1.7
      PATCHLEVEL=1
          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=sha256:ebda1279a813d9b0f7860ce5029ccf5ea9f8868be070f2eaf40f90f2e64b6414
      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
