tldr/pages/linux/choom.md

432 B

choom

Display and change the adjust out-of-memory killer score. More information: https://manned.org/choom.

  • Display the OOM-killer score of the process with a specific ID:

choom -p {{pid}}

  • Change the adjust OOM-killer score of a specific process:

choom -p {{pid}} -n {{-1000..+1000}}

  • Run a command with a specific adjust OOM-killer score:

choom -n {{-1000..+1000}} {{command}} {{argument1 argument2 ...}}