uptime.1 1.7 KB
Newer Older
csmall's avatar
csmall committed
1 2
.\"             -*-Nroff-*-
.\"
Frank's avatar
Frank committed
3
.TH UPTIME "1" "December 2012" "procps-ng" "User Commands"
csmall's avatar
csmall committed
4 5 6 7
.SH NAME
uptime \- Tell how long the system has been running.
.SH SYNOPSIS
.B uptime
8
[\fIoptions\fR]
csmall's avatar
csmall committed
9 10
.SH DESCRIPTION
.B uptime
11 12 13 14
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.
.PP
15
This is the same information contained in the header line displayed by
csmall's avatar
csmall committed
16
.BR w (1).
17 18 19 20 21 22 23 24 25 26 27
.PP
System load averages is the average number of processes that are either in a
runnable or uninterruptable 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 normalized 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.
.SH OPTIONS
.TP
28 29 30
\fB\-p\fR, \fB\-\-pretty\fR
show uptime in pretty format
.TP
31 32 33
\fB\-h\fR, \fB\-\-help\fR
display this help text
.TP
Frank's avatar
Frank committed
34
\fB\-s\fR, \fB\-\-since\fR
35
system up since, in yyyy-mm-dd HH:MM:SS format
Frank's avatar
Frank committed
36
.TP
37 38
\fB\-V\fR, \fB\-\-version\fR
display version information and exit
csmall's avatar
csmall committed
39
.SH FILES
Jan Görig's avatar
Jan Görig committed
40 41 42 43 44 45
.TP
.I /var/run/utmp
information about who is currently logged on
.TP
.I /proc
process information
csmall's avatar
csmall committed
46 47
.SH AUTHORS
.B uptime
48
was written by
49
.UR greenfie@gauss.\:rutgers.\:edu
50 51 52
Larry Greenfield
.UE
and
53
.UR johnsonm@sunsite.\:unc.\:edu
54 55
Michael K. Johnson
.UE
csmall's avatar
csmall committed
56 57 58 59 60
.SH "SEE ALSO"
.BR ps (1),
.BR top (1),
.BR utmp (5),
.BR w (1)
61 62
.SH "REPORTING BUGS"
Please send bug reports to
63
.UR procps@freelists.org
64
.UE