Results 1 to 8 of 8
  1. #1

    Crowe's Avatar
    Member Since
    Aug 08, 2006
    Location
    Sapporo, Japan
    Posts
    15
    Specs:
    15" PB G4, 1 GHz, 768 RAM, OS X Tiger 10.5.6
    Finding time of last shutdown
    Hello All,

    I have a unique situation. My wife and I moved to Japan about 5 months ago and we came home two nights ago to find our house unlocked, power out, and our belongings scattered around. The rear window was broken and some things were stolen. Luckily, the iMac was left upstairs.

    I'm trying my hardest to find a time for the power outage in the console logs, but I'm having no luck. I figured the time of the shutdown would give me some idea of when the thieves broke in.

    Thanks,

  2. #2

    McBie's Avatar
    Member Since
    Apr 26, 2008
    Location
    Belgium
    Posts
    2,777
    Specs:
    2013 MBA 13" - OS X 10.11
    I guess you are not going to find a timestamp in the logs because your Mac was not properly shutdown, so it did not have time to write anything to the logs.

    Unless your Mac was running on a UPS, in which case the UPS might have written something to its internal log. ( That would depend on the brand/model of the UPS )

    Don't forget to check the internal log of the modem/router .... there might be an indication in there.

    Not much of a help .... I know ..... sorry

    Cheers ... McBie
    A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
    The bitterness of poor quality remains long after the sweetness of low price is forgotten.

  3. #3

    deus_ex_machina's Avatar
    Member Since
    Aug 06, 2004
    Location
    Tejas
    Posts
    1,713
    Specs:
    2GHz Mac Mini 2GB RAM 160GB 10.6.2 | MDD DP 1.25GHz G4 1.5GB RAM 10.4.11 | 233MHz iMac G3 10.3.9
    You could see the last time ANYTHING was written to the system log before you turned the computer back on that night/day.

  4. #4

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,880
    Specs:
    Way... way too many specs to list.
    Ok, you can grep for either bootlog or shutdown in /var/log/system.log

    like such

    Code:
    mikeMbp:log mike$ grep bootlog /var/log/system.log
    Oct 24 11:51:34 mikeMbp bootlog[45]: BOOT_TIME: 1256410271 0
    Oct 26 16:28:03 mikeMbp bootlog[45]: BOOT_TIME: 1256599660 0
    Oct 26 16:31:25 mikeMbp bootlog[42]: BOOT_TIME: 1256599861 0
    Oct 28 15:38:09 localhost bootlog[43]: BOOT_TIME: 1256769467 0
    Oct 28 15:41:20 localhost bootlog[43]: BOOT_TIME: 1256769659 0
    mikeMbp:log mike$ grep shutdown /var/log/system.log
    Oct 24 11:46:48 mikeMbp shutdown[3081]: reboot by mike: 
    Oct 24 11:46:48 mikeMbp shutdown[3081]: SHUTDOWN_TIME: 1256410008 279014
    Oct 26 16:27:04 mikeMbp shutdown[4046]: reboot by mike: 
    Oct 26 16:27:04 mikeMbp shutdown[4046]: SHUTDOWN_TIME: 1256599624 869928
    Oct 26 16:30:44 mikeMbp shutdown[215]: reboot by mike: 
    Oct 26 16:30:44 mikeMbp shutdown[215]: SHUTDOWN_TIME: 1256599844 585882
    Oct 28 15:39:47 mikeMbp sudo[200]: mike : TTY=ttys000 ; PWD=/Users/mike ; USER=root ; COMMAND=/sbin/shutdown -h now
    Oct 28 15:39:47 mikeMbp shutdown[200]: halt by mike: 
    Oct 28 15:39:47 mikeMbp shutdown[200]: SHUTDOWN_TIME: 1256769587 961920
    I'm not sure though what a non-graceful shutdown would look like
    mike
    This machine kills fascists
    Got # ? phear the command line!

  5. #5

    rman's Avatar
    Member Since
    Dec 24, 2002
    Location
    Los Angeles, California
    Posts
    12,584
    Specs:
    2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
    Cool
    or from a terminal window, do a last and look that listing
    Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!

  6. #6

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,880
    Specs:
    Way... way too many specs to list.
    argghhh, forgot about last
    mike
    This machine kills fascists
    Got # ? phear the command line!

  7. #7

    Crowe's Avatar
    Member Since
    Aug 08, 2006
    Location
    Sapporo, Japan
    Posts
    15
    Specs:
    15" PB G4, 1 GHz, 768 RAM, OS X Tiger 10.5.6
    Thanks everyone. My terminal skills are beyond newb. Could you help me find the "last" readings?

  8. #8

    deus_ex_machina's Avatar
    Member Since
    Aug 06, 2004
    Location
    Tejas
    Posts
    1,713
    Specs:
    2GHz Mac Mini 2GB RAM 160GB 10.6.2 | MDD DP 1.25GHz G4 1.5GB RAM 10.4.11 | 233MHz iMac G3 10.3.9
    this command's not complicated: open Terminal, type "last"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Kernel panic almost every time during shutdown
    By Propclear in forum OS X - Operating System
    Replies: 23
    Last Post: 04-11-2014, 08:55 AM
  2. Time Machine Always Finding New Files?
    By cmdude21 in forum OS X - Operating System
    Replies: 3
    Last Post: 12-23-2011, 04:54 PM
  3. Shutdown Time
    By Joker88 in forum OS X - Operating System
    Replies: 9
    Last Post: 11-04-2009, 07:43 AM
  4. Longest time with out shutdown?
    By kilo15 in forum OS X - Operating System
    Replies: 10
    Last Post: 08-14-2007, 03:16 PM
  5. slow shutdown time
    By mikesnail in forum Switcher Hangout
    Replies: 4
    Last Post: 12-20-2005, 10:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •