A Way to see restart history for a machine?

Posted on 2009-02-18
Last Modified: 2013-11-23
(running 10.4.11 client)
While I know that I can use the BSD command "uptime" to see the *last* time a machine was restarted, I am looking for a way to see a history of the last 5 times the machine was up/down.  Is there a way to do this *using built-in tools* on 10.4.11?  I'm quite desperate to find a solution to this problem as getting this info off a machine of mine is vital.
Question by:psfollies
    LVL 47

    Expert Comment

    LVL 47

    Expert Comment


    Author Comment

    ... would help if it were a Windows machine :)  This is the OSX section.

    I am assuming that 10.4.11 logs on and off times somewhere, I just don't know either where to look or what BSD command may help.
    LVL 47

    Expert Comment

    Sorry, late here
    LVL 39

    Accepted Solution

    Sorry, but by default OSX does NOT record specifically the log on - log off times, nor the user who is logging on.

    The best thing would be to open the Console Application and you can see all logs recorded by all applications and system components.  By scanning these logs you can work out when the computer was on and off.

    For future reference you could write a small shell script that writes to a file every time someone logs on and off.

    Author Closing Comment

    Thanks for the info.  I sure with there was a log in OSX that recorded up and down times and that you could call it via the uptime command (i.e. "uptime -h" for a history).  I was able to decipher it via the system console log - but that was a lot of lines :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    This article will cover some tips for successfully installing the new update to OS X; 10.5.7. Although the information contained within could be used for any OS X point release.  Please note that this information applies to point releases to a parti…
    Finder.   The ubiquitous, built-in feature of the Mac OS X platform, that never sleeps, can help get to any destination within your Mac OS X volume, allows you to customize your desktop, files and folders and so much more. As one of the primary…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now