HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thechoomcommandandclichangeadjustdisplay
linux

Problem

How to use the choom command: Display and change the adjust out-of-memory killer score. More information: <https://manned.org/choom>.

Solution

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]}} {{pid}}


Change the adjust OOM-killer score of a specific process:
choom {{[-p|--pid]}} {{pid}} {{[-n|--adjust]}} {{-1000..+1000}}


Run a command with a specific adjust OOM-killer score:
choom {{[-n|--adjust]}} {{-1000..+1000}} {{command}} {{argument1 argument2 ...}}

Code Snippets

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

choom {{[-p|--pid]}} {{pid}}

Change the adjust OOM-killer score of a specific process

choom {{[-p|--pid]}} {{pid}} {{[-n|--adjust]}} {{-1000..+1000}}

Run a command with a specific adjust OOM-killer score

choom {{[-n|--adjust]}} {{-1000..+1000}} {{command}} {{argument1 argument2 ...}}

Context

tldr-pages: linux/choom

Revisions (0)

No revisions yet.