Subscribe to How-To Geek

Recommended: Click Here to Run a Free Scan for Common PC Errors   [Sponsored Link]

Get System Uptime Information on Solaris

It's really easy to figure out how long a system has been up and running on solaris. Absurdly easy.

uptime

The uptime command shows how long a system has been running.

Example:

# uptime
 11:57pm up 44 mins(s), 2 users, load average: 0.08, 0.13, 0.14

who -b

The who -b command will tell you exactly when the system was last started up, as opposed to telling you how long it's been up. Saves you some math.

Example:

# uptime -b
     system boot  Nov 30 23:13

The Geek is the founder of How-To Geek and a geek enthusiast. When he's not coming up with great how-to articles, he's probably writing at his personal blog. This article was written on 12/1/06 and tagged with: Solaris

Leave a Comment




Leave your friendly comment here. If you have a computer help question, leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Copyright © 2006-2008 HowToGeek.com. All Rights Reserved.