跳转到主内容
加入维修社区 - 创建账户

此翻译由机器生成,尚未经过人工审核。 会说这种语言吗? 查看评论

如何判断 Mac 关机原因

    1. 如何判断 Mac 关机原因, 打开终端: 步骤 1 中的图像 1,1
      • 打开 终端

      添加评论

    2. 如何判断 Mac 关机原因, 列出之前的关机记录: 步骤 2 中的图像 1,1
      • 将以下命令复制并粘贴到你的“终端”窗口中:

      • log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h

      • 命令中“24h”的部分可以根据你需要查看的时间跨度,更改为任意小时数。

      添加评论

    3. 如何判断 Mac 关机原因, 确定关机原因: 步骤 3 中的图像 1,1
      • 你所选时间范围内的历史关机原因将以列表形式显示。

      • 常见的关机原因代码包括:5 表示正常关机;3 表示强制关机(即按住电源按钮);0 表示电源已断开。

      • 你可以在此处找到关机原因列表:关机原因(来自 George Garside 博客)

      添加评论

结论

完成!你应该能够利用这些代码来进一步排查随机关机或其他异常情况。

如果这篇指南帮助你解决了问题,请点击下方的按钮 :)

取消:我没有完成这个指南。

24等其他人完成本指南。

附加文件

Jonah Aragon

于08/05/18注册

5,746 声望

创作了5篇指南

团队

Experimax Coon Rapids Experimax Coon Rapids 的会员

Business

3 名成员

创作了60篇指南

14指南评论

For me it says

kernel: (AppleSMC) Previous shutdown cause: -20

The attached PDF (and the internet) doesn’t seem to have any information about this code. What’s the source of the codes for the PDF? Maybe they have updated listing for shutdown codes.

Saurabh Shrivastava - 回复 分享

we also have -20 as a cause and have no idea what it means. did you ever find it out?

octomobiki - 回复 分享

I also have -20 code of shut down after macOS 10.15.5 update with MBP 16inches model.

but no information at all….

赤月小黄泉 - 回复 分享

writErr = -20, /*I/O System Errors*/ its this error for code -20 .. Find all error codes here :- https://krypted.com/lists/comprehensive-...

UNKNOWN X - 回复 分享

Sorry , that was not related, check this one : - https://georgegarside.com/blog/macos/shu...

and, error code 20- T2 security chip initiated shutdown

UNKNOWN X - 回复 分享

添加评论

浏览统计数据:

过去 24 小时: 11

过去 7 天: 92

过去 30 天: 428

总计 108,654