LinuxCommandLibrary

choom

Display and change the adjust out-of-memory killer score.

TLDR

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

$ choom -p [pid]
copy


Change the adjust OOM-killer score of a specific process
$ choom -p [pid] -n [-1000..+1000]
copy


Run a command with a specific adjust OOM-killer score
$ choom -n [-1000..+1000] [command] [argument1 argument2 ...]
copy

Copied to clipboard