diff --git a/pages/linux/choom.md b/pages/linux/choom.md new file mode 100644 index 000000000..bb135dba5 --- /dev/null +++ b/pages/linux/choom.md @@ -0,0 +1,16 @@ +# choom + +> Display and change the adjust out-of-memory killer score. +> More information: . + +- 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 ...}}`