In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Most people do not understand the knowledge points of this article "how to use nload to monitor network bandwidth in Centos7", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this article "how to use nload to monitor network bandwidth in Centos7".
Nload is an easy-to-use and powerful tool. It is only relatively simple, and you can only view the total traffic. Unlike iptraf, you can monitor the traffic of the network card in real time, such as IP and protocol, which is divided into two parts: Incoming,Outgoing, that is, inflow and outflow.
System environment
Centos7
Installation
You can easily install nload tools by installing the epel software source first on CentOS/RHEL-based systems.
[root@localhost ~] # wget-O / etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo[root@localhost ~] # yum makecache [root@localhost ~] # yum-y install nload how to use nload to monitor network traffic
After starting nload, you can switch between network cards by pressing the left and right arrow keys (you can specify the device on the command line, or you can automatically detect the device):
[root@localhost ~] # nload
You can specify the Nic name on the command line
[root@localhost ~] # nload ens38
After running nload, you can use the following keyboard shortcuts:
Use the left and right arrow keys or the Enter / Tab key to switch the display to the next network card. Use F2 to display the options window. Use F5 to save the current settings to the user profile. Use F6 to reload settings from the configuration file. Use Q or Ctrl + C to exit nload.
Display more than one device at a time, instead of displaying the flow graph, you can use the-m option. The arrow keys toggle the number of devices displayed on the screen back and forth:
[root@localhost] # nload-m
Use the-an option to set the length of the calculation time window in seconds.
[root@localhost] # nload-a 400
The-t interval option sets the refresh interval (in milliseconds, default is 500) for the display. Note that specifying a refresh interval of less than about 100 milliseconds makes the traffic calculation inaccurate:
[root@localhost] # nload-ma 400-t 600
To learn more about the options, use the nload-- help command.
The above is about the content of this article on "how to use nload to monitor network bandwidth in Centos7". I believe we all have some understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please 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.