Linux下如何查看上次系统启动时间

Linux下如何查看上次系统启动时间

who -b   查看最后一次(上次)系统启动时间

[root@localhost /]# who -b
    系统引导 2023-02-02 15:57

last reboot  查看重启记录

[root@localhost /]# last reboot
reboot   system boot  3.10.0-862.el7.x Thu Feb  2 15:57 - 13:46 (20+21:48)  
reboot   system boot  3.10.0-862.el7.x Wed Feb 23 10:45 - 13:46 (365+03:01) 
wtmp begins Wed Feb 23 10:45:13 2022

posted on 2023-02-23 13:48  不会写shell的程序员  阅读(423)  评论(0)    收藏  举报

导航