2002-02-02 04:17:29 +05:30
|
|
|
.\" -*-Nroff-*-
|
|
|
|
.\"
|
|
|
|
.TH UPTIME 1 "26 Jan 1993" "Cohesive Systems" "Linux User's Manual"
|
|
|
|
.SH NAME
|
|
|
|
uptime \- Tell how long the system has been running.
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B uptime
|
|
|
|
.br
|
2011-02-23 13:47:54 +05:30
|
|
|
.B uptime
|
|
|
|
.RB [ \-V ]
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH DESCRIPTION
|
|
|
|
.B 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.
|
2011-02-23 13:47:54 +05:30
|
|
|
|
2002-02-02 04:17:29 +05:30
|
|
|
This is the same information contained in the header line displayed by
|
|
|
|
.BR w (1).
|
2011-02-23 13:47:54 +05:30
|
|
|
.sp
|
|
|
|
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.
|
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
|
|
|
|
was written by Larry Greenfield <greenfie@gauss.rutgers.edu> and
|
|
|
|
Michael K. Johnson <johnsonm@sunsite.unc.edu>.
|
|
|
|
|
2002-10-07 03:04:17 +05:30
|
|
|
Please send bug reports to <albert@users.sf.net>
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR ps (1),
|
|
|
|
.BR top (1),
|
|
|
|
.BR utmp (5),
|
|
|
|
.BR w (1)
|