{
    "mode": "man",
    "parameter": "proc_pid_timerslack_ns",
    "section": "5",
    "url": "https://www.chedong.com/phpMan.php/man/proc_pid_timerslack_ns/5/json",
    "generated": "2026-10-09T17:08:05Z",
    "sections": {
        "NAME": {
            "content": "/proc/pid/timerslackns - timer slack in nanoseconds\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "/proc/pid/timerslackns (since Linux 4.6)\nThis file exposes the process's \"current\" timer slack value, expressed in nanoseconds.\nThe file is writable, allowing the process's timer slack value to be changed.  Writing\n0  to  this  file resets the \"current\" timer slack to the \"default\" timer slack value.\nFor further details, see the discussion of PRSETTIMERSLACK in prctl(2).\n\nInitially, permission to access this  file  was  governed  by  a  ptrace  access  mode\nPTRACEMODEATTACHFSCREDS  check  (see  ptrace(2)).   However,  this was subsequently\ndeemed too strict a requirement (and had the side effect that requiring a  process  to\nhave  the  CAPSYSPTRACE  capability  would  also  allow  it  to  view and change any\nprocess's memory).  Therefore, since Linux 4.9, only the (weaker)  CAPSYSNICE  capa‐\nbility is required to access this file.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "proc(5)\n\nLinux man-pages 6.7                          2023-08-15                    procpidtimerslackns(5)",
            "subsections": []
        }
    },
    "summary": "/proc/pid/timerslackns - timer slack in nanoseconds",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "proc",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/proc/5/json"
        }
    ]
}