who -b 查当前这次开机的时间

[root@DGWEBPROD3 bmsscanv3]# who -b
         system boot  2016-05-06 12:31


      last reboot 查重启时间

reboot   system boot  3.10.0-327.el7.x Fri May  6 12:31 - 12:21 (46+23:49)
reboot   system boot  3.10.0-327.el7.x Sun May  1 11:17 - 12:21 (52+01:04)
reboot   system boot  3.10.0-327.el7.x Sun May  1 10:52 - 11:16  (00:23)
reboot   system boot  3.10.0-327.el7.x Sun May  1 10:45 - 10:52  (00:07)
reboot   system boot  3.10.0-327.el7.x Sun May  1 10:25 - 10:52  (00:27)
reboot   system boot  3.10.0-327.el7.x Sun May  1 08:11 - 10:25  (02:13)
reboot   system boot  3.10.0-327.el7.x Thu Apr 28 17:56 - 10:25 (2+16:28)
reboot   system boot  3.10.0-327.el7.x Thu Apr 28 17:50 - 17:56  (00:06)
reboot   system boot  3.10.0-327.el7.x Thu Apr 28 17:19 - 17:56  (00:36)
reboot   system boot  3.10.0-327.el7.x Wed Apr 27 10:26 - 17:56 (1+07:30)
reboot   system boot  3.10.0-327.el7.x Mon Apr 25 09:49 - 11:26  (01:37)
reboot   system boot  3.10.0-327.el7.x Mon Apr 25 09:40 - 08:48  (00:-51)
reboot   system boot  3.10.0-327.el7.x Sun Apr 24 01:09 - 08:39 (1+07:30)
reboot   system boot  3.10.0-327.el7.x Sun Apr 24 00:34 - 00:08  (00:-25)
reboot   system boot  3.10.0-327.el7.x Sat Apr 23 20:31 - 23:34  (03:02)
reboot   system boot  3.10.0-327.el7.x Sat Apr 23 17:58 - 19:31  (01:32)

Logo

助力广东及东莞地区开发者,代码托管、在线学习与竞赛、技术交流与分享、资源共享、职业发展,成为松山湖开发者首选的工作与学习平台

更多推荐