Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add --prefer-only option to only kill processes matching --prefer #310

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 11, 2024

  1. add --prefer-only option to only kill processes matching --prefer

    While --avoid exists to list processes that should not be killed, it may
    be desirable to have earlyoom simply ignore any processes that do not
    match the regex specified in --prefer. It should be noted that the Linux
    kernel may still opt to kill other processes if earlyoom did not free up
    enough memory to prevent an oom.
    
    Signed-off-by: Murat Boyar <[email protected]>
    Signed-off-by: Cedric Hombourger <[email protected]>
    chombourger committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    687e820 View commit details
    Browse the repository at this point in the history