Using uptime

uptime is another simple and useful command that can be used to verify how long your Unix system has been up and running. The uptime command returns the current time, the number of users logged in to the system, how long the system has been running, and the amount of load that the system is under. Just type uptime at the command prompt, as follows:

>uptime
6:30am up 12:50, 3 users, load average: 0.15, 0.11, 0.04

In this example, we can see that uptime returns the current time, up since, how many users are currently logged in to Unix, and the load average. Just about everything here should be self-explanatory except for the load average. The load average is composed of three values: the first value is the load on the system during ...

Get SAMS Teach Yourself Unix in 10 Minutes 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.