New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.6 - Finding time of last shutdown


Post Reply New Thread Subscribe

 
Thread Tools
Crowe

 
Crowe's Avatar
 
Member Since: Aug 08, 2006
Location: Sapporo, Japan
Posts: 15
Crowe is on a distinguished road
Mac Specs: 15" PB G4, 1 GHz, 768 RAM, OS X Tiger 10.5.6

Crowe is offline
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,
QUOTE Thanks
McBie

 
McBie's Avatar
 
Member Since: Apr 26, 2008
Location: Belgium
Posts: 2,520
McBie is a splendid one to beholdMcBie is a splendid one to beholdMcBie is a splendid one to beholdMcBie is a splendid one to beholdMcBie is a splendid one to beholdMcBie is a splendid one to beholdMcBie is a splendid one to beholdMcBie is a splendid one to behold
Mac Specs: 2013 MBA 13" - OS X 10.10.1

McBie is online now
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 problem is not the problem. The problem is your attitude towards the problem. You understand ?
QUOTE Thanks
deus_ex_machina

 
deus_ex_machina's Avatar
 
Member Since: Aug 06, 2004
Location: Tejas
Posts: 1,720
deus_ex_machina is just really nicedeus_ex_machina is just really nicedeus_ex_machina is just really nicedeus_ex_machina is just really nicedeus_ex_machina is just really nice
Mac 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

deus_ex_machina is offline
You could see the last time ANYTHING was written to the system log before you turned the computer back on that night/day.
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
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!
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac 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

rman is offline
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!
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
argghhh, forgot about last

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
Crowe

 
Crowe's Avatar
 
Member Since: Aug 08, 2006
Location: Sapporo, Japan
Posts: 15
Crowe is on a distinguished road
Mac Specs: 15" PB G4, 1 GHz, 768 RAM, OS X Tiger 10.5.6

Crowe is offline
Thanks everyone. My terminal skills are beyond newb. Could you help me find the "last" readings?
QUOTE Thanks
deus_ex_machina

 
deus_ex_machina's Avatar
 
Member Since: Aug 06, 2004
Location: Tejas
Posts: 1,720
deus_ex_machina is just really nicedeus_ex_machina is just really nicedeus_ex_machina is just really nicedeus_ex_machina is just really nicedeus_ex_machina is just really nice
Mac 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

deus_ex_machina is offline
this command's not complicated: open Terminal, type "last"
QUOTE Thanks

Post Reply New Thread Subscribe


« Unable to Select Views in Finder | How to make seagate 500gb portable compatible for mac and pc »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Setting Up Time Capsule - Problems Jetheat Internet, Networking, and Wireless 52 01-01-2012 08:00 AM
Time Machine won't go back in time! mo010 OS X - Operating System 11 08-12-2011 02:46 AM
A specific upgrade question - wipe & install, with Time Machine herkalees OS X - Operating System 1 08-27-2009 11:40 AM
Time Machine Capability machouse OS X - Operating System 0 09-24-2008 12:05 AM
Need Help Installing Time Capsule Jetheat OS X - Operating System 2 04-15-2008 12:34 AM

All times are GMT -4. The time now is 06:40 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?