Current File : //usr/man/man1/uptime.1
'\" te
.\"  Copyright (c) 1994 Sun Microsystems, Inc.  All Rights Reserved.
.TH uptime 1 "18 Mar 1994" "SunOS 5.11" "User Commands"
.SH NAME
uptime \- show how long the system has been up
.SH SYNOPSIS
.LP
.nf
\fBuptime\fR 
.fi

.SH DESCRIPTION
.sp
.LP
The \fBuptime\fR command prints the current time, the length of time the system has been up, and the average number of jobs in the run queue over the last 1, 5 and 15 minutes. It is, essentially,  the first line of a \fBw\fR(1) command.
.SH EXAMPLES
.sp
.LP
Below is an example of the output \fBuptime\fR provides:
.sp
.in +2
.nf
example% uptime
10:47am  up 27 day(s), 50 mins,  1 user,  load average: 0.18, 0.26, 0.20
.fi
.in -2
.sp

.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp

.sp
.TS
tab() box;
lw(2.75i) lw(2.75i) 
lw(2.75i) lw(2.75i) 
.
\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR
Availabilitysystem/core-os
.TE

.SH SEE ALSO
.sp
.LP
\fBw\fR(1), \fBwho\fR(1), \fBwhodo\fR(1M), \fBattributes\fR(5)
.SH NOTES
.sp
.LP
\fBwho\fR \fB-b\fR gives the time the system was last booted.