Content-type: text/html; charset=UTF-8 Man page of proc_pid_oom_score

proc_pid_oom_score

Section: File Formats (5)
Updated: 2024-05-02
Index Return to Main Contents
 

NAME

/proc/pid/oom_score - OOM-killer score  

DESCRIPTION

/proc/pid/oom_score (since Linux 2.6.11)
This file displays the current score that the kernel gives to this process for the purpose of selecting a process for the OOM-killer. A higher score means that the process is more likely to be selected by the OOM-killer. The basis for this score is the amount of memory used by the process, with increases (+) or decreases (-) for factors including:
•
whether the process is privileged (-).
Before Linux 2.6.36 the following factors were also used in the calculation of oom_score:
•
whether the process creates a lot of children using fork(2) (+);
•
whether the process has been running a long time, or has used a lot of CPU time (-);
•
whether the process has a low nice value (i.e., > 0) (+); and
•
whether the process is making direct hardware access (-).
The oom_score also reflects the adjustment specified by the oom_score_adj or oom_adj setting for the process.
 

SEE ALSO

proc(5), proc_pid_oom_score_adj(5)


 

Index

NAME
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 11:48:48 GMT, September 14, 2026