It’s really easy to figure out how long a system has been up and running on solaris. Absurdly easy.
The uptime command shows how long a system has been running.
11:57pm up 44 mins(s), 2 users, load average: 0.08, 0.13, 0.14
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.
# uptime -b
system boot Nov 30 23:13
Programmer by day, geek by night, The Geek, also known as Lowell Heddings, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on Google+ if you'd like.
- Published 12/1/06