How Long Has My Mac Been On?

Jan 21, 2010 - 12 Comments

Terminal in OS X If you’re ever wondering how long your Mac has been turned on and running for, you can discover exactly how long the computer has been on since last boot with two different methods available in OS X.

Let’s learn a bit more about discovering how long a Mac has been left turned on for, and also, theoretically at least, how long you could leave a Mac turned on for.

Find How Long a Mac Has Been Turned On For with System Information in OS X

The easiest way to see how long it has been since your Mac was last off or booted is to use System Profiler.

  1. From anywhere in OS X, hit Command + Spacebar and type “System Information” followed by the Return key to launch that app (some earlier versions of OS X call this “System Profiler”)
  2. Select “Software” from the side menu list
  3. Locate “Time since boot” to see the amount of time it has been since the Mac has been turned on

Time since boot in Mac System Information

A command line approach is also possible. Simply launch the Terminal and type the following command into the command line to discover exactly how long the computer has been on:

uptime

This command will report back your systems uptime, which is telling you how long your Mac has been turned on for, or how long it has been since a reboot has occurred. You will see something like the following reported back:

10:17 up 10 days, 11:02, 4 users, load averages: 0.34 0.29 0.24

As you can see, this Mac has been turned on and running for 10 days and 11 hours and 2 minutes.

All Macs will report different data here of course, because some people turn off their Macs at night, and some people don’t (I never do).

You can learn more about uptime and getting boot history here, focused on the command line approach, it applies to all versions of OS X and all Mac hardware.

How Long Can a Mac Be Left Turned On For?

Theoretically, you could leave a Mac turned on all the time, and leave it turned on forever. Yes, it will use power, and yes you should take that into consideration. For me, I personally never turn off my Mac unless I am going to be traveling and not using the Mac for many days, otherwise I just leave it turned on and never turn it off at all. Sure, I reboot to install software and what not, but that’s about it. I put it to sleep if I am taking it somewhere, or want to power it down without a shutdown. I basically never turn off my Mac, and I’ve never had a problem with that.

So how long can you really leave a Mac turned on for then? That’s hard to say, if you just let a Mac sit and do nothing for years, eventually some hardware components may fail, but this could take a very long time to happen. In fact, many Mac servers routinely achieve very high uptimes well over a year of being turned on without a reboot or crash, here’s one that is over 400 days for example, and another over 160 days – pretty impressive, right? It is, that’s what you get with stable software on good hardware, it’s yet another beauty of the Mac.

.

Related articles:

Posted by: Manish Patel in Mac OS, Tips & Tricks

12 Comments

» Comments RSS Feed

  1. Bojan says:

    Type ac into Terminal.

  2. 151 guns says:

    151 days and counting!

  3. […] using the “last reboot” command instead. Similarly if you’re only looking to see how long a Mac has been powered on, you can use the simple “uptime” command, which will give you […]

  4. Dirty White Boy says:

    23Days 21:05

  5. TP says:

    This is a regular Unix command works in Mac and in any other Unix/Linux outthere.

  6. Milton says:

    Use istat pro widget. It tells gives you uptime and much more.

  7. MacUser says:

    You can find out the uptime thru System Profiler -> Software -> Time since boot.

  8. Ian says:

    There is a way to find out when it was shut down and turned on. It comes up with a list of a bunch of times, not just one.

  9. Salvador says:

    37 days???? what?? i have 4 days and i think thats good

  10. trash says:

    16:04 up 37 days, 4:59, 23 users, load averages: 0.38 0.33 0.31
    ;-)

    • charley747 says:

      hi, well I see 2 users!! but I am the only person to touch my RETINa, why do I see “2users”????
      anything to do with my different places, or ….?

Leave a Reply

 

Shop on Amazon.com and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site