August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/bin/uptime
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.
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% See attributes(5) for descriptions of the following attributes:
| Attribute Type | Attribute Value |
|---|---|
| Availability | SUNWcsu |
w(1), who(1), whodo(1M), attributes(5)
Read now
Unlock full access