1UPTIME(1) User Commands UPTIME(1)
2
3
4
6 uptime - Tell how long the system has been running.
7
9 uptime [options]
10
12 uptime gives a one line display of the following information. The cur‐
13 rent time, how long the system has been running, how many users are
14 currently logged on, and the system load averages for the past 1, 5,
15 and 15 minutes.
16
17 This is the same information contained in the header line displayed by
18 w(1).
19
20 System load averages is the average number of processes that are either
21 in a runnable or uninterruptable state. A process in a runnable state
22 is either using the CPU or waiting to use the CPU. A process in unin‐
23 terruptable state is waiting for some I/O access, eg waiting for disk.
24 The averages are taken over the three time intervals. Load averages
25 are not normalized for the number of CPUs in a system, so a load aver‐
26 age of 1 means a single CPU system is loaded all the time while on a 4
27 CPU system it means it was idle 75% of the time.
28
30 -p, --pretty
31 show uptime in pretty format
32
33 -h, --help
34 display this help text
35
36 -s, --since
37 system up since, in yyyy-mm-dd HH:MM:SS format
38
39 -V, --version
40 display version information and exit
41
43 /var/run/utmp
44 information about who is currently logged on
45
46 /proc process information
47
49 uptime was written by Larry Greenfield ⟨greenfie@gauss.rutgers.edu⟩ and
50 Michael K. Johnson ⟨johnsonm@sunsite.unc.edu⟩
51
53 ps(1), top(1), utmp(5), w(1)
54
56 Please send bug reports to ⟨procps@freelists.org⟩
57
58
59
60procps-ng December 2012 UPTIME(1)