In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail what are the commands for checking network bandwidth in the Linux system. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
1. View server network port
Ifconfig
View bandwidth size: sudo ethtool xxx sudo ethtool eth0
[root@centos7-spider ~] # ethtool eth0 Settings for eth0: Supported ports: [TP] Supported link modes: 1000baseT/Full 10000baseT/Full Supported pause frame use: No Supports auto-negotiation: No Advertised link modes: Not reported Advertised pause frame use: No Advertised auto-negotiation: No Speed: 10000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: off MDI-X: Unknown Supports Wake-on: uag Wake-on: d Link detected: yesSpeed: 10000Mb/s bandwidth is 10 gigabytes
Nload Device eth0 [10.16.169.14] (1ap2): = Incoming: Curr: 27.99 kBit/s Avg: 33.14 kBit/s Min: 19.02 kBit/s Max: 116.44 kBit/s Ttl: 74.46 GByte Outgoing: Curr: 20.26 kBit/s Avg: 83.46 kBit/s Min: 17.72 kBit/s Max: 3.19 MBit/s Ttl: 145.30 GByteIncoming, that is, the traffic entering the Nic Outgoing, that is, the traffic from this network card, each part has the following.
Curr: current traffic Avg: average traffic Min: minimum traffic Max: maximum traffic Ttl: total traffic
Nload defaults to the eth0 network card. If you want to monitor the traffic of the eth2 network card, you can use the following command.
Nload eth2 views the traffic of multiple network cards at the same time.
The results of nload-m / / are as follows: Device eth0 [10.16.169.14] (1stroke 2): = Incoming: Outgoing: Curr: 30.23 kBit/s Curr: 28.14 kBit/s Avg: 32.80 kBit/s Avg: 69.48 kBit/s Min: 23.65 kBit/s Min: 18.23 kBit/s Max: 133.16 kBit/s Max: 3.17 MBit/s Ttl: 74.46 GByte Ttl: 145.30 GByte Device lo [127.0.0.1] (2Accord 2): = Incoming: Outgoing: Curr: 0.00 Bit/s Curr: 0.00 Bit/s Avg: 150.82 kBit/s Avg: 150.82 kBit/s Min: 0.00 Bit/s Min: 0.00 Bit/s Max: 7.51 MBit/s Max: 7.51 MBit/s Ttl: 276.67 GByte Ttl: 276.67 GByte, this is the end of the article on "what are the network bandwidth commands for Linux systems?" Hope that the above content can be helpful to you, so that you can learn more knowledge, if you think the article is good, please share it for more people to see.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.