In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you the use of linux uptime command to check the system load, I believe that most people do not know much, so share this article for you to learn, I hope you will learn a lot after reading this article, let's go to learn the method!
The uptime command in the Linux system is mainly used to obtain the host running time and query the Linux system load and other information.
The uptime command shows how long the system has been running, in the following order: the current time, how long the system has been running, how many logged-in users are currently, and the average load of the system in the past 1 minute, 5 minutes, and 15 minutes. The use of the uptime command is very simple, and you can view the system load by entering uptime directly.
Syntax format: uptime [parameters]
Common parameters:
-p displays the normal running time of the machine in a beautiful format-s system since running time, and displays help information in yyyy-mm-dd hh:mm:ss-h format
Reference example
Displays the current system running load:
[root@linuxcool] # uptime 15:23:22 up 2 days, 5:13, 3 users, load average: 0.12,0.04,0.05
Use the-p parameter to display the time when the machine is running normally:
[root@linuxcool ~] # uptime-pup 2 days, 5 hours, 15 minutes
Use the-s parameter to display the machine startup time:
[root@linuxcool] # uptime-s2019-05-09 above 10:09:43 is to use linux's uptime command to view all the contents of the system load, thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.