Shutdown Time

Joined
Nov 3, 2009
Messages
1
Reaction score
0
Points
1
Is there a timeline somewhere in my mac that shows, when the mac was shut down the last time?

Appreciate your help
 
Joined
May 22, 2005
Messages
2,159
Reaction score
67
Points
48
Location
Closer than you think.
Your Mac's Specs
Performa 6116 2GBSCSI 8MB OS 7.5.3
/Applications/Utilities/Conlsole

Look at the windowserver.log

This shows the time I shut down and the next timeI booted up. These are consecutive entries.

Nov 03 16:12:40 [85] loginwindow connection closed; closing server.
Nov 03 19:35:15 [71] Server is starting up
 
Joined
Jul 9, 2009
Messages
356
Reaction score
3
Points
18
Location
Colorado
in a terminal window type "uptime" without the quotes.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
in a terminal window type "uptime" without the quotes.
That won't show you when you last shut down. That will only show you your uptime (the time your machine has been on).
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
last will do it as well.

last | awk '{print $4" "$5" "$6" "$7" "$8}'| grep shutdown
Oct 28 15:38 - shutdown
Oct 28 15:38 - shutdown
Sep 17 17:48 - shutdown
Sep 17 12:55 - shutdown
Sep 17 12:53 - shutdown
 
Joined
Oct 3, 2009
Messages
2,641
Reaction score
26
Points
48
Location
Albuquerque, New Mexico
I typed last into Terminal, and I have a question:

What's with all the reboots when I hardly ever reboot my system?
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
do they coincide with any updates? ;)
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Before I explain this, I'll let you think about it for a while.
 
Joined
Apr 26, 2008
Messages
2,963
Reaction score
120
Points
63
Location
Belgium
Your Mac's Specs
iPad Pro 12.9 latest iOS
What's the difference?

The difference is that when I shut down the MBP and go on a world cruise for 3 months, then come back and start the MBP, the ' uptime' results will not take into account the time I spent on my world cruise;D

I believe the question was specific on " last shutdown " and not on " last reboot "

Cheers ... McBie
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top