{
    "content": [
        {
            "type": "text",
            "text": "# uptime(1) (man)\n\n## TLDR\n\n> Tell how long the system has been running and other information.\n\n- Print current time, uptime, number of logged-in users, and other information:\n  `uptime`\n- Show only the amount of time the system has been booted for:\n  `uptime {{-p|--pretty}}`\n- Print the date and time the system booted up at:\n  `uptime {{-s|--since}}`\n- Display the time data in seconds:\n  `uptime {{-r|--raw}}`\n- Display version:\n  `uptime {{-V|--version}}`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** uptime - Tell how long the system has been running.\n\n**Synopsis:** uptime [options]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -p | --pretty | — | show uptime in pretty format |\n| -h | --help | — | display this help text |\n| -s | --since | — | system up since, in yyyy-mm-dd HH:MM:SS format |\n| -V | --version | — | display version information and exit |\n\n## See Also\n\n- ps(1)\n- top(1)\n- utmp(5)\n- w(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (13 lines)\n- **OPTIONS** (1 lines) — 4 subsections\n  - -p --pretty (2 lines)\n  - -h --help (2 lines)\n  - -s --since (2 lines)\n  - -V --version (2 lines)\n- **FILES** (5 lines)\n- **AUTHORS** (3 lines)\n- **SEE ALSO** (2 lines)\n- **REPORTING BUGS** (5 lines)\n\n## Full Content\n\n### NAME\n\nuptime - Tell how long the system has been running.\n\n### SYNOPSIS\n\nuptime [options]\n\n### DESCRIPTION\n\nuptime gives a one line display of the following information.  The current time, how long the\nsystem has been running, how many users are currently logged on, and the system load averages\nfor the past 1, 5, and 15 minutes.\n\nThis is the same information contained in the header line displayed by w(1).\n\nSystem  load averages is the average number of processes that are either in a runnable or un‐\ninterruptable state.  A process in a runnable state is either using the CPU or waiting to use\nthe  CPU.   A process in uninterruptable state is waiting for some I/O access, eg waiting for\ndisk.  The averages are taken over the three time intervals.  Load averages are  not  normal‐\nized  for the number of CPUs in a system, so a load average of 1 means a single CPU system is\nloaded all the time while on a 4 CPU system it means it was idle 75% of the time.\n\n### OPTIONS\n\n#### -p --pretty\n\nshow uptime in pretty format\n\n#### -h --help\n\ndisplay this help text\n\n#### -s --since\n\nsystem up since, in yyyy-mm-dd HH:MM:SS format\n\n#### -V --version\n\ndisplay version information and exit\n\n### FILES\n\n/var/run/utmp\ninformation about who is currently logged on\n\n/proc  process information\n\n### AUTHORS\n\nuptime was written by Larry Greenfield ⟨greenfie@gauss.rutgers.edu⟩ and  Michael  K.  Johnson\n⟨johnsonm@sunsite.unc.edu⟩\n\n### SEE ALSO\n\nps(1), top(1), utmp(5), w(1)\n\n### REPORTING BUGS\n\nPlease send bug reports to ⟨procps@freelists.org⟩\n\n\n\nprocps-ng                                   December 2012                                  UPTIME(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "uptime",
        "section": "1",
        "mode": "man",
        "summary": "uptime - Tell how long the system has been running.",
        "synopsis": "uptime [options]",
        "tldr_summary": "Tell how long the system has been running and other information.",
        "tldr_examples": [
            {
                "description": "Print current time, uptime, number of logged-in users, and other information",
                "command": "uptime"
            },
            {
                "description": "Show only the amount of time the system has been booted for",
                "command": "uptime {{-p|--pretty}}"
            },
            {
                "description": "Print the date and time the system booted up at",
                "command": "uptime {{-s|--since}}"
            },
            {
                "description": "Display the time data in seconds",
                "command": "uptime {{-r|--raw}}"
            },
            {
                "description": "Display version",
                "command": "uptime {{-V|--version}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-p",
                "long": "--pretty",
                "arg": null,
                "description": "show uptime in pretty format"
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "display this help text"
            },
            {
                "flag": "-s",
                "long": "--since",
                "arg": null,
                "description": "system up since, in yyyy-mm-dd HH:MM:SS format"
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "display version information and exit"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "ps",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ps/1/json"
            },
            {
                "name": "top",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/top/1/json"
            },
            {
                "name": "utmp",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/utmp/5/json"
            },
            {
                "name": "w",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/w/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-p --pretty",
                        "lines": 2,
                        "flag": "-p",
                        "long": "--pretty"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-s --since",
                        "lines": 2,
                        "flag": "-s",
                        "long": "--since"
                    },
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "FILES",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}