如何在LINUX中获得关机时间 [英] How to get shutdown time in LINUX

查看:127
本文介绍了如何在LINUX中获得关机时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好~~


我想在LINUX中获得关机时间(Centos 7.6)



是有办法获得始终准确的系统关机时间吗?



我尝试过的方法:



我发现命令最后



#last shutdown -x | head -10



我可以使用此命令获取系统关闭时间,但并不总是记录。

解决方案

linux查找上次关机时间 - Google搜索 [ ^ ]

Hello everyone~

I wanna get shutdown time in LINUX(Centos 7.6)

Is there a way to get the always exact system shutdown time?

What I have tried:

I found command "last"

#last shutdown -x | head -10

I can get the system shutdown time with this command, but it is not always recorded.

解决方案

linux find last shutdown time - Google Search[^]


这篇关于如何在LINUX中获得关机时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆