uptime — Show How Long a System Has Been Up

Synopsis

/usr/bin/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.

Note

You can use the who -b command to display the time the system was last booted.

Example

The following example shows the output of uptime.

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

Attributes

See attributes(5) for descriptions of the following attributes:

Attribute Type Attribute Value
Availability SUNWcsu

See Also

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

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.