This article is a mirror article of machine translation, please click here to jump to the original article.

View: 8892|Reply: 0

[linux] Check the Linux system turn-on and shutdown times

[Copy link]
Posted on 2/7/2022 9:59:23 AM | | | |
who command to view

who -b to see when the last system boot was made

Who -r to view the current system uptime



See how long the system has been running



Or enter w to view, as follows:

[root@citsvseentos7-dev04 ~]# w
09:59:15 up 73 days, 13:31,  1 user,  load average: 1.78, 1.48, 1.38
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/0    192.168.3.177    09:54    3.00s  0.06s  0.00s w

Check the time when the Linux system is shut down






Previous:The front-end JS converts blobs to strings
Next:Docker logs fill up disks and data migration
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com