2002-02-02 04:17:29 +05:30
|
|
|
.\" -*-Nroff-*-
|
|
|
|
.\"
|
2012-12-26 17:44:09 +05:30
|
|
|
.TH UPTIME "1" "December 2012" "procps-ng" "User Commands"
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH NAME
|
|
|
|
uptime \- Tell how long the system has been running.
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B uptime
|
2011-06-07 02:14:05 +05:30
|
|
|
[\fIoptions\fR]
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH DESCRIPTION
|
|
|
|
.B uptime
|
2011-06-07 02:14:05 +05:30
|
|
|
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
|
2011-10-27 20:20:24 +05:30
|
|
|
This is the same information contained in the header line displayed by
|
2002-02-02 04:17:29 +05:30
|
|
|
.BR w (1).
|
2011-06-07 02:14:05 +05:30
|
|
|
.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
|
2012-02-22 21:05:12 +05:30
|
|
|
\fB\-p\fR, \fB\-\-pretty\fR
|
|
|
|
show uptime in pretty format
|
|
|
|
.TP
|
2011-06-07 02:14:05 +05:30
|
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
|
|
display this help text
|
|
|
|
.TP
|
2012-12-26 17:44:09 +05:30
|
|
|
\fB\-s\fR, \fB\-\-since\fR
|
2014-09-16 11:21:13 +05:30
|
|
|
system up since, in yyyy-mm-dd HH:MM:SS format
|
2012-12-26 17:44:09 +05:30
|
|
|
.TP
|
2011-06-07 02:14:05 +05:30
|
|
|
\fB\-V\fR, \fB\-\-version\fR
|
|
|
|
display version information and exit
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH FILES
|
2011-02-23 13:47:54 +05:30
|
|
|
.TP
|
|
|
|
.I /var/run/utmp
|
|
|
|
information about who is currently logged on
|
|
|
|
.TP
|
|
|
|
.I /proc
|
|
|
|
process information
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH AUTHORS
|
|
|
|
.B uptime
|
2011-06-07 02:14:05 +05:30
|
|
|
was written by
|
2012-04-16 16:25:53 +05:30
|
|
|
.UR greenfie@gauss.\:rutgers.\:edu
|
2011-06-07 02:14:05 +05:30
|
|
|
Larry Greenfield
|
|
|
|
.UE
|
|
|
|
and
|
2012-04-16 16:25:53 +05:30
|
|
|
.UR johnsonm@sunsite.\:unc.\:edu
|
2011-06-07 02:14:05 +05:30
|
|
|
Michael K. Johnson
|
|
|
|
.UE
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR ps (1),
|
|
|
|
.BR top (1),
|
|
|
|
.BR utmp (5),
|
|
|
|
.BR w (1)
|
2011-06-07 02:14:05 +05:30
|
|
|
.SH "REPORTING BUGS"
|
|
|
|
Please send bug reports to
|
2012-04-16 16:25:53 +05:30
|
|
|
.UR procps@freelists.org
|
2011-06-07 02:14:05 +05:30
|
|
|
.UE
|