Linux Find Out Last System Reboot Time and Date Command - nixCraft https://www.cyberciti.biz/tips/linux-last-reboot-time-and-date-find-out.html Linux开机和关机记录查看 - CSDN博客 https://blog.csdn.net/u014717036/article/details/71036562 last命令 > last 查看最近一次开机时间
Last reboot这个命令是查看每次系统重启的信息 [root@dg01 log]# last rebootreboot system boot 2.6.32-300.10.1. Thu May 29 22:48 (00:23)reboot system boot 2.6.32-300.10.1. Thu May 29 22:08 (00:38)... 其中最近的一次重启时间是May 29 22:48,距离当前时间已经运行了23分钟了,而倒数第二次重启时间是May 29 22:08,运行了3