{
    "mode": "man",
    "parameter": "proc_pid_oom_score",
    "section": "5",
    "url": "https://www.chedong.com/phpMan.php/man/proc_pid_oom_score/5/json",
    "generated": "2026-10-08T03:20:59Z",
    "sections": {
        "NAME": {
            "content": "/proc/pid/oomscore - OOM-killer score\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "/proc/pid/oomscore (since Linux 2.6.11)\nThis  file  displays  the  current score that the kernel gives to this process for the\npurpose of selecting a process for the OOM-killer.  A  higher  score  means  that  the\nprocess  is more likely to be selected by the OOM-killer.  The basis for this score is\nthe amount of memory used by the process, with increases (+) or decreases (-) for fac‐\ntors including:\n\n•  whether the process is privileged (-).\n\nBefore Linux 2.6.36 the following  factors  were  also  used  in  the  calculation  of\noomscore:\n\n•  whether the process creates a lot of children using fork(2) (+);\n\n•  whether  the  process  has  been running a long time, or has used a lot of CPU time\n(-);\n\n•  whether the process has a low nice value (i.e., > 0) (+); and\n\n•  whether the process is making direct hardware access (-).\n\nThe oomscore also reflects the adjustment specified by the oomscoreadj  or  oomadj\nsetting for the process.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "proc(5), procpidoomscoreadj(5)\n\nLinux man-pages 6.7                          2023-08-15                        procpidoomscore(5)",
            "subsections": []
        }
    },
    "summary": "/proc/pid/oomscore - OOM-killer score",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "proc",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/proc/5/json"
        },
        {
            "name": "procpidoomscoreadj",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/procpidoomscoreadj/5/json"
        }
    ]
}