{
    "mode": "info",
    "parameter": "uptime",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/uptime/json",
    "generated": "2026-11-14T15:10:39Z",
    "sections": {
        "File: coreutils.info,  Node: uptime invocation,  Prev: hostid invocation,  Up: System context": {
            "content": "",
            "subsections": [
                {
                    "name": "21.7 'uptime': Print system uptime and load",
                    "content": "'uptime' prints the current time, the system's uptime, the number of\nlogged-in users and the current load average.\n\nIf an argument is specified, it is used as the file to be read to\ndiscover how many users are logged in.  If no argument is specified, a\nsystem default is used ('uptime --help' indicates the default setting).\n\nThe only options are '--help' and '--version'.  *Note Common\noptions::.\n\nFor example, here's what it prints right now on one system I use:\n\n$ uptime\n14:07  up   3:35,  3 users,  load average: 1.39, 1.15, 1.04\n\nThe precise method of calculation of load average varies somewhat\nbetween systems.  Some systems calculate it as the average number of\nrunnable processes over the last 1, 5 and 15 minutes, but some systems\nalso include processes in the uninterruptible sleep state (that is,\nthose processes which are waiting for device I/O). The Linux kernel\nincludes uninterruptible processes.\n\n'uptime' is installed only on platforms with infrastructure for\nobtaining the boot time, and other packages also supply an 'uptime'\ncommand, so portable scripts should not rely on its existence or on the\nexact behavior documented above.\n\nAn exit status of zero indicates success, and a nonzero value\nindicates failure.\n"
                }
            ]
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}