xref: /illumos-gate/usr/src/man/man1/uptime.1 (revision 09a48d4ca0ddda4ad26cc885769745870d989baf)
te
Copyright (c) 1994 Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
UPTIME 1 "Mar 18, 1994"
NAME
uptime - show how long the system has been up
SYNOPSIS

uptime
DESCRIPTION

The uptime 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 w(1) command.

EXAMPLES

Below is an example of the output uptime provides:

example% uptime
10:47am up 27 day(s), 50 mins, 1 user, load average: 0.18, 0.26, 0.20
SEE ALSO

w(1), who(1), whodo(1M), attributes(5)

NOTES

who -b gives the time the system was last booted.