Hours of usage?

Discussion in 'Mac Basics and Help' started by sfphoto, Feb 8, 2015.

  1. sfphoto macrumors regular

    Joined:
    Jun 10, 2010
    #1
    Anyone know of a way to find hours of usage for a Mac?
     
  2. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #2
    The best way of finding that out is by querying the hard drive's SMART data and look for power on hours. This will not be accurate if the hard drive has been replaced during the machine's life.
     
  3. Mr Rabbit macrumors 6502a

    Mr Rabbit

    Joined:
    May 13, 2013
    Location:
    'merica
    #3
    In Terminal, typing uptime and pressing return will show you the Mac's uptime (time since powering on) and average loads.
     
  4. mfram macrumors 65816

    Joined:
    Jan 23, 2010
    Location:
    San Diego, CA USA
    #4
    Uptime includes sleep time though. Uptime is only concerned with boot time.
     
  5. sfphoto thread starter macrumors regular

    Joined:
    Jun 10, 2010
    #5
  6. doynton macrumors 6502

    Joined:
    Oct 19, 2014
    #6
    Alternatively if you don't mind building it you can use smartctl for free from here http://www.smartmontools.org/wiki/Download

    Code:
    adams-mbp:~ adam$ /usr/local/sbin/smartctl /dev/disk0 -a
    
    smartctl 6.3 2014-07-26 r3976 [x86_64-apple-darwin14.1.0] (local build)
    Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
    .
    .
    .
    SMART Attributes Data Structure revision number: 4
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
      1 Raw_Read_Error_Rate     0x000f   100   100   000    Pre-fail  Always       -       0
      5 Reallocated_Sector_Ct   0x000f   100   100   000    Pre-fail  Always       -       0
      9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       3210
     12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       5884
    169 Unknown_Attribute       0x0032   100   100   010    Old_age   Always       -       820512818912
    173 Wear_Leveling_Count     0x0032   195   195   100    Old_age   Always       -       12895912004
    192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       113
    194 Temperature_Celsius     0x0022   066   066   000    Old_age   Always       -       34 (0 149 0 14 0)
    197 Current_Pending_Sector  0x0032   000   000   000    Old_age   Always       -       0
    199 UDMA_CRC_Error_Count    0x003e   100   100   000    Old_age   Always       -       0
    240 Unknown_SSD_Attribute   0x0000   000   000   000    Old_age   Offline      -       0
    
     

Share This Page