{
    "mode": "info",
    "parameter": "nproc",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/nproc/json",
    "generated": "2026-09-13T02:16:41Z",
    "sections": {
        "File: coreutils.info,  Node: nproc invocation,  Next: uname invocation,  Prev: arch invocation,  Up: System context": {
            "content": "",
            "subsections": [
                {
                    "name": "21.3 'nproc': Print the number of available processors",
                    "content": ""
                }
            ]
        },
        "Print the number of processing units available to the current process,": {
            "content": "which may be less than the number of online processors.  If this\ninformation is not accessible, then print the number of processors\ninstalled.  If the 'OMPNUMTHREADS' or 'OMPTHREADLIMIT' environment\nvariables are set, then they will determine the minimum and maximum\nreturned value respectively.  The result is guaranteed to be greater\nthan zero.  Synopsis:\n\nnproc [OPTION]\n\nThe program accepts the following options.  Also see *note Common\noptions::.\n\n'--all'\nPrint the number of installed processors on the system, which may\nbe greater than the number online or available to the current\nprocess.  The 'OMPNUMTHREADS' or 'OMPTHREADLIMIT' environment\nvariables are not honored in this case.\n\n'--ignore=NUMBER'\nIf possible, exclude this NUMBER of processing units.\n\nAn exit status of zero indicates success, and a nonzero value\nindicates failure.\n",
            "subsections": []
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}