Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

This question already has an answer here:

Back when I had a Windows machine I used a program called CrystalDiskInfo to see total hours of operation of my computer. I only used the numbers for fun or to like indicate how "used" my PC was..

So I'm looking for a terminal command or an app that can display that information for me.

Screenshot of the crystaldiskinfo gui. enter image description here

share|improve this question

marked as duplicate by M K, Mark, bmike Jun 10 at 13:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Sidenote, the crystaldiskinfo does work in apple bootcamp. But I do not have that atm. –  JW_ Jun 9 at 21:37
    
Your title is asking for the uptime of your Mac, but the utility screen shot you're showing is showing you the "power on hours" of a disk drive, not the uptime of your OS over reboots. Is what you really want the power on hours of a drive in your Mac? –  Ian C. Jun 10 at 0:11

1 Answer 1

The command you want is called uptime:

|ruby-2.1.2| cortana in ~
○ → uptime
14:49  up 3 days, 21:51, 4 users, load averages: 1.41 1.32 1.30

From the man page:

The uptime utility displays the current time, the length of time the system has been up, the number of users, and the load average of the system over the last 1, 5, and 15 minutes.

share|improve this answer
    
This is a for session. I want the total uptime (from when the mac was booted the first time). –  JW_ Jun 9 at 22:06
    
I have found this post. apple.stackexchange.com/questions/70425/… Mike answers that a terminal based program called smartools does the job, and I can see it does it well for him. But I just tried and didnt have any luck. I have installed smartools in terminal, but it doesnt want to load the information. –  JW_ Jun 9 at 22:31
    
@JW_ that utility you're using on Windows is reporting the power on hours of a hard drive in your machine, not the power on hours of the machine itself. Nothing, in any OS, I've ever encountered tracks uptime over reboots for a system. Your question should be rephrased to "How do I see the power on time of a hard drive in my OS X machine?" if that's what you're truly after. –  Ian C. Jun 10 at 0:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.