← 返回命令列表

Linux command

choom 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

choom -p [pid]

Change

choom -p [pid] -n [-1000..+1000]

Run

choom -n [-1000..+1000] [command] [arguments]

说明

choom displays and changes the Out-Of-Memory (OOM) killer score adjustment for processes. The OOM killer terminates processes when the system runs critically low on memory. The score adjustment ranges from -1000 (never kill) to +1000 (kill first). A value of -1000 effectively disables OOM killing for that process.

参数

-p, --pid _pid_
Specify the process ID
-n, --adjust _value_
Set the OOM score adjustment (-1000 to +1000)

FAQ

What is the choom command used for?

choom displays and changes the Out-Of-Memory (OOM) killer score adjustment for processes. The OOM killer terminates processes when the system runs critically low on memory. The score adjustment ranges from -1000 (never kill) to +1000 (kill first). A value of -1000 effectively disables OOM killing for that process.

How do I run a basic choom example?

Run `choom -p [pid]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p, --pid _pid_ do in choom?

Specify the process ID