将last -x reboot
最后两个条目显示为 的原因是still running
什么?此外,我很确定我没有在 16 年 12 月重新启动该服务器,尽管它可能与托管服务提供商有关。如果是这样,这会是预期的结果吗?
root@cthulhu-new ~ # last -x reboot
reboot system boot 4.13.0-0.bpo.1-a Sat Dec 16 06:26 still running
reboot system boot 4.13.0-0.bpo.1-a Thu Dec 7 07:56 still running
reboot system boot 4.13.0-0.bpo.1-a Wed Dec 6 11:10 - 07:55 (20:44)
wtmp begins Tue Dec 5 19:59:27 2017
Run Code Online (Sandbox Code Playgroud)
这是last -x shutdown
12 月 16 日没有条目的输出:
root@cthulhu-new ~ # last -x shutdown
shutdown system down 4.13.0-0.bpo.1-a Thu Dec 7 07:55 - …
Run Code Online (Sandbox Code Playgroud)