Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pianodude123

macrumors 6502a
Original poster
Mar 1, 2005
698
0
in the internet
I am trying to find out and keep track the total hours used on my laptop. I would like to keep track since I just bought a new MBP and I want to keep track of how long the computer lasts. I think that my last MBP only lasted about 500 hours before the logic board died... so i was wondering if there are any programs that fire up on login and keep track and record uptime for the machine forever...
 
There's probably a program for the purpose, but you could do it manually. In a Terminal window, run:

echo "uptime >> ~/.odometer" >> ~/.bash_logout

Every time you log out, a new entry will be made in the file ~/.odometer. You can see its contents with

cat ~/.odometer
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.