# uptime(1) - man - phpman

> **TLDR:** 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}}`

*Source: tldr-pages*

---

[UPTIME(1)](https://www.chedong.com/phpMan.php/man/UPTIME/1/markdown)                                   User Commands                                  [UPTIME(1)](https://www.chedong.com/phpMan.php/man/UPTIME/1/markdown)



## 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)](https://www.chedong.com/phpMan.php/man/w/1/markdown).

       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@gauss.rutgers.edu>⟩ and  Michael  K.  Johnson
       ⟨<johnsonm@sunsite.unc.edu>⟩

## SEE ALSO
       [**ps**(1)](https://www.chedong.com/phpMan.php/man/ps/1/markdown), [**top**(1)](https://www.chedong.com/phpMan.php/man/top/1/markdown), [**utmp**(5)](https://www.chedong.com/phpMan.php/man/utmp/5/markdown), [**w**(1)](https://www.chedong.com/phpMan.php/man/w/1/markdown)

## REPORTING BUGS
       Please send bug reports to ⟨<procps@freelists.org>⟩



procps-ng                                   December 2012                                  [UPTIME(1)](https://www.chedong.com/phpMan.php/man/UPTIME/1/markdown)
