Solaris System Uptime: How to Check & Monitor

Determining System Uptime on Solaris
Ascertaining the duration a system has been operational under Solaris is a remarkably straightforward process. It's exceptionally simple to achieve.
Using the uptime Command
The uptime command is utilized to display the total time a system has been running. This provides a quick overview of system availability.
For instance, the output of the command might appear as follows:
# uptime
11:57pm up 44 mins(s), 2 users, load average: 0.08, 0.13, 0.14
This indicates the current time, the system has been up for 44 minutes, the number of logged-in users, and the system load averages.
Utilizing the who -b Command
The who -b command offers a different perspective. It reveals the precise date and time when the system was last booted.
This is particularly useful when you need to know the exact startup time, rather than calculating it from the current time.
An example of the command's output is shown below:
# uptime -b
system boot Nov 30 23:13
This clearly shows the system was last started on November 30th at 23:13 (11:13 PM). This eliminates the need for manual calculations.