当我这样做时sudo pm-hibernate,屏幕会关闭一秒钟,然后又恢复正常。我使用 检查日志head /var/log/pm-suspend.log,结果如下:
Initial commandline parameters:
Wed Dec 21 12:11:34 IST 2016: Running hooks for hibernate.
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:
/usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/000record-status hibernate hibernate:
/usr/lib/pm-utils/sleep.d/000record-status hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:
Linux woem-HP-ProBook-4540s 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
GParted 显示我有 7.2 GB linux-swap,几乎是我 RAM 的两倍。
我现在该怎么办?
编辑:我打开 pm-suspend.log 并滚动到文件底部。结果如下:
Wed Dec 21 14:04:16 IST 2016: performing hibernate
sh: echo: …Run Code Online (Sandbox Code Playgroud)