From f288bf38a7ffe1bb43e26b92a4875cc733658315 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 15 Mar 2024 00:49:23 -0300 Subject: [PATCH] choom: add page (#12499) --- pages/linux/choom.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/linux/choom.md 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 ...}}`