查linux开机时间和重启时间

      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)

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值