Query the running time of the Linux system

# Query the running time of the Linux system
[root@dev_aliyun ~]# uptime
22:36:32 up 10 days, 11:21, 1 user, load average: 0.00, 0.05, 0.07

The first message from the left of the system time is 22:36 :32, which is the current system time, output in 24-hour format.
The second message of system running time is up 10 days, 11:21, which is to show your system running time. Show that your system has been running for 10 days, 11 hours and 21 minutes. If your system has not been running for more than 24 hours, it will only display hours and minutes or only minutes. It will be cleared when the system restarts.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326081005&siteId=291194637