uptime(1) - man - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool | Cheat Sheet


TLDR: uptime (tldr-pages)

Tell how long the system has been running and other information.

  • Print current time, uptime, number of logged-in users, and other information
    uptime
  • Show only the amount of time the system has been booted for
    uptime {{-p|--pretty}}
  • Print the date and time the system booted up at
    uptime {{-s|--since}}
  • Display the time data in seconds
    uptime {{-r|--raw}}
  • Display version
    uptime {{-V|--version}}
UPTIME(1)                                   User Commands                                  UPTIME(1)



NAME
       uptime - Tell how long the system has been running.

SYNOPSIS
       uptime [options]

DESCRIPTION
       uptime gives a one line display of the following information.  The current time, how long the
       system has been running, how many users are currently logged on, and the system load averages
       for the past 1, 5, and 15 minutes.

       This is the same information contained in the header line displayed by w(1).

       System  load averages is the average number of processes that are either in a runnable or un‐
       interruptable state.  A process in a runnable state is either using the CPU or waiting to use
       the  CPU.   A process in uninterruptable state is waiting for some I/O access, eg waiting for
       disk.  The averages are taken over the three time intervals.  Load averages are  not  normal‐
       ized  for the number of CPUs in a system, so a load average of 1 means a single CPU system is
       loaded all the time while on a 4 CPU system it means it was idle 75% of the time.

OPTIONS
       -p, --pretty
              show uptime in pretty format

       -h, --help
              display this help text

       -s, --since
              system up since, in yyyy-mm-dd HH:MM:SS format

       -V, --version
              display version information and exit

FILES
       /var/run/utmp
              information about who is currently logged on

       /proc  process information

AUTHORS
       uptime was written by Larry Greenfield ⟨greenfie AT gauss.edu⟩ and  Michael  K.  Johnson
       ⟨johnsonm AT sunsite.eduSEE ALSO
       ps(1), top(1), utmp(5), w(1)

REPORTING BUGS
       Please send bug reports to ⟨procps AT freelists.org⟩



procps-ng                                   December 2012                                  UPTIME(1)

Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 11:15 @216.73.216.151 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!