Is there a command to find the date and time at which a Macintosh computer last entered the sleep mode?
|
You can use the
You can obviously play around with anything after |
|||||||||
|
|
There may be a more efficient way to get the exact last time, but on lion you can search for If you like terminal, something like If there was no sleep event since the last time the the log file rolled over, you can use Console or |
|||||
|
|
Actually, something like
is what really gives me a clean timeline of sleep/wake events on 10.8.2. powerd does not log anything about it, at least on my system (10.8.2, MacBook Pro Retina 15). The formatting on this site does not do justice to the clean output seen on a shell (that is, given enough width to the window):
|
|||
|
|