uptime – find out how long the Unix system has been up

uptime is one of the basic Unix commands which allows you to quickly confirm how long your Unix system has been up and running since it was last rebooted or powered on.

This is how you use it:

bash-2.05b$ uptime
11:18:23  up 83 days, 18:29,  4 users,  load average: 0.16, 0.03, 0.01

uptime command output explained

This single line of output gives you all the uptime information you may need:

  • 11:18:23 – that’s the current Unix system time
  • up 83 days, 18:29 – shows for how long your system has been running
  • 4 users – number of users currently logged into your Unix system
  • load average: 0.16, 0.03, 0.01 – the average CPU load (average number of jobs in your system’s run queue)for the 1, 5 and 15 minutes

See Also




Keep Learning

Follow me on Facebook, Twitter or Telegram:
Recommended
I learn with Educative: Educative I'm also a fan of SetApp for macOS: SetApp for macOS
IT Consultancy
I'm a principal consultant with Tech Stack Solutions. I help with cloud architectrure, AWS deployments and automated management of Unix/Linux infrastructure. Get in touch!
Recent Articles
31 Jan 2023

Homelab: MacBook Pro M2

17 Nov 2022

Video: awk delimiters

25 Oct 2022

macOS Ventura 13.0

Recent Tweets