 |
 |
How can I tell when my mac woke up?
|
 |
|
 |
|
Addicted to MacNN
Join Date: Nov 2002
Location: Seattle, WA
Status:
Offline
|
|
I have a mini that I use for a HTPC, and half the time when I go to wake it up, it's already awake. I'd like to find out what's causing it to wake up spontaneously, and the first step is a timeline. So does anyone know of a way to find out what time(s) a mac awoke from sleep? Thanks
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status:
Online
|
|
Check the system.log in Console.
|
|
Vandelay Industries
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Nov 2002
Location: Seattle, WA
Status:
Offline
|
|
I don't see anything there. Was that just a guess or did you have something in mind?
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status:
Online
|
|
No, it was not a guess. The time it goes to sleep and the time it wakes up is recorded in the system.log.
This is from mine this afternoon. You can see references to going to sleep and waking up.
Oct 17 15:07:34 localhost kernel[0]: AFPSleepWakeHandler: going to sleep
Oct 17 15:07:34 localhost mDNSResponder[15]: SetupAddr invalid sa_family 0
Oct 17 15:07:34: --- last message repeated 1 time ---
Oct 17 15:07:34 localhost kernel[0]: hibernate image path: /var/vm/sleepimage
Oct 17 15:07:34 localhost kernel[0]: sizeof(IOHibernateImageHeader) == 512
Oct 17 15:07:34 localhost kernel[0]: Opened file /var/vm/sleepimage, size 2147483648, partition base 0x16e29fe000, maxio 400000
Oct 17 15:07:34 localhost kernel[0]: hibernate image major 14, minor 3, blocksize 512, pollers 4
Oct 17 15:07:34 localhost kernel[0]: hibernate_alloc_pages flags 00000000, gobbling 0 pages
Oct 17 15:07:35 localhost kernel[0]: vmnet: bridge-en1: interface en is going DOWN
Oct 17 15:07:36 localhost kernel[0]: AppleYukon2: 00000000,2396f000 sky2 - HardwareNotResponding, marking offline
Oct 17 17:29:45 localhost kernel[0]: AppleYukon2: 00000000,00000000 skqueue - SkEventDispatcher - ignoring event queue, hardware is not responding
Oct 17 15:07:36 localhost mDNSResponder[15]: SetupAddr invalid sa_family 0
Oct 17 17:29:45 localhost kernel[0]: 11D beacon causing regdomain change to CC 840
Oct 17 15:07:36 localhost mDNSResponder[15]: SetupAddr invalid sa_family 0
Oct 17 17:29:46 localhost kernel[0]: en1: 802.11d country code set to 'US'.
Oct 17 17:29:44 localhost mDNSResponder[15]: SetupAddr invalid sa_family 0
Oct 17 17:29:46 localhost kernel[0]: en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 36 40 44 48 52 56 60 64 149 153 157 161 165
Oct 17 17:29:44 localhost mDNSResponder[15]: SetupAddr invalid sa_family 0
Oct 17 17:29:46 localhost kernel[0]: vmmon: powerStateDidChange flags=0x4 (state 2)
Oct 17 17:29:45 localhost mDNSResponder[15]: getifaddrs ifa_netmask for vmnet8(7) Flags 8863 Family 2 172.16.192.1 has different family: 0
Oct 17 15:07:37 localhost kernel[0]: System SafeSleep
Oct 17 17:29:45 localhost mDNSResponder[15]: getifaddrs ifa_netmask for vmnet1(8) Flags 8863 Family 2 172.16.43.1 has different family: 0
Oct 17 17:29:46 localhost kernel[0]: hibernate_page_list_setall start
Oct 17 17:29:45 localhost mDNSResponder[15]: SetupAddr invalid sa_family 0
Oct 17 17:29:46 localhost kernel[0]: hibernate_page_list_setall time: 333 ms
Oct 17 17:29:45 localhost mDNSResponder[15]: SetupAddr invalid sa_family 0
Oct 17 17:29:46 localhost kernel[0]: pages 423434, wire 123470, act 202778, inact 4454, zf 0, throt 0, could discard act 43767 inact 43834 purgeable 5131
Oct 17 17:29:46 localhost kernel[0]: hibernate_page_list_setall found pageCount 330702
Oct 17 17:29:46 localhost kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0
Oct 17 17:29:46 localhost kernel[0]: IOHibernatePollerOpen(0)
Oct 17 17:29:46 localhost kernel[0]: writing 329552 pages
Oct 17 17:29:46 localhost kernel[0]: image1Size 269567488
Oct 17 17:29:46 localhost kernel[0]: all time: 28021 ms, comp time: 5097 ms, deco time: 0 ms,
Oct 17 17:29:46 localhost kernel[0]: image 716273152, uncompressed 1349844992 (329552), compressed 709502848 (52%), sum1 55b74779, sum2 1b65423c
Oct 17 17:29:47 localhost kernel[0]: hibernate_write_image done(0)
Oct 17 17:29:47 localhost kernel[0]: sleep
Oct 17 17:29:47 localhost kernel[0]: System Wake
Oct 17 17:29:47 localhost kernel[0]: vmmon: powerStateDidChange flags=0x82 (state 4)
Oct 17 17:29:47 localhost kernel[0]: vmmon: Fixing HV state
Oct 17 17:29:47 localhost kernel[0]: vmmon: HV check: anyNotCapable=0 anyUnlocked=0 anyEnabled=1 anyDisabled=0
Oct 17 17:29:47 localhost kernel[0]: AFPSleepWakeHandler: waking up
|
|
Vandelay Industries
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Aug 2004
Location: Seattle, WA
Status:
Offline
|
|
|
|

Impulse Response
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Apr 2001
Location: Wasilla, Alaska
Status:
Offline
|
|
Originally Posted by Uncle Skeleton
I don't see anything there. Was that just a guess or did you have something in mind?
You can try this in the terminal:
cat /var/log/system.log | grep "System Wake"
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|