原来用 mac 很少关机,合上盖子自动休眠,但是现在发现合上盖子看起来是休眠了,但是 CPU 还是运行的,用 istat 看就算 mac 休眠了,但是不活跃时间依然是 0 分钟,电脑负载也和没休眠时一样的,严重怀疑目前只是屏幕休眠了,各位大神,这个怎么解啊~~
1
tyfulcrum 2016-02-08 02:56:50 +08:00
看看节能设置?
|
2
ynyounuo 2016-02-08 06:03:49 +08:00
pmset -g 看看
一般情况下罪魁祸首是 Boom , Textual ,或者 iTunes |
3
pH 2016-02-08 10:05:27 +08:00 via iPad
看看唤醒日志吧
|
4
thunderbuddy OP @tyfulcrum 节能设置没问题的,硬盘进入睡眠也选择了
|
5
thunderbuddy OP @ynyounuo 刚才看了一下,提示: sleep 10 (sleep prevented by configd),这个 configd 进程是干嘛的,怎么让它不阻止睡眠呢
|
6
thunderbuddy OP @pH 日志里基本都是这种
Feb 7 08:54:53 Aaron-MBP kernel[0] <Notice>: Wake reason: ARPT (Network) Feb 7 08:54:53 Aaron-MBP kernel[0] <Notice>: ARPT: 45895.485187: ARPT: Wake Reason: Wake on TCP Timeout Feb 7 08:54:53 Aaron-MBP kernel[0] <Notice>: ARPT: 45895.599957: ARPT: Wake Reason: Wake on TCP Timeout Feb 7 08:54:53 Aaron-MBP kernel[0] <Notice>: [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01) Feb 7 15:51:54 localhost kernel[0] <Notice>: [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01) Feb 7 15:54:42 localhost kernel[0] <Notice>: [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01) |
7
thunderbuddy OP 折腾了半天,问题终于解决了,用 pmset -g everything 看了详细信息后,发现了这个:
pid 1536(configd): [0x0000192a0007054b] 01:02:48 DenySystemSleep named: "InternetSharingPreferencePlugin" 于是在系统设置里搜索 share ,发现是互联网共享这个功能打开了,跪了 ORZ...关闭之后,果然正常了~~~ |
8
pH 2016-02-08 18:27:43 +08:00 via iPad
@thunderbuddy 幸福啊 我关了这个依旧是老 TCP timeout 唤醒
|