Advertisement
wesleykeener

Kill the largest process - earlyoom

Nov 22nd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.60 KB | None | 0 0
  1. # https://www.ostechnix.com/kill-largest-process-unresponsive-linux-system/
  2. # compile and install it manually as shown below.
  3. git clone https://github.com/rfjakob/earlyoom.git
  4. cd earlyoom
  5. make
  6. sudo make install
  7. # Early OOM – Kill The Largest Process In An Unresponsive Linux System
  8. # Run the following command to start Early OOM:
  9. earlyoom
  10. # If you compiled it from source, run the following command to start Early OOM:
  11. ./earlyoom
  12. # To set available memory minimum to PERCENT of total, run:
  13. earlyoom -m <PERCENT_HERE>
  14. # To set available swap minimum to PERCENT of total, run:
  15. earlyoom -s <PERCENT_HERE>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement