In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Do not know how to use linux iperf commands for network performance testing? In fact, it is not difficult to solve this problem. Let the editor take you to learn how to solve it. I hope you will gain a lot after reading this article.
The iperf command can be used to test the performance of some network devices such as routers, firewalls, switches, etc.
Syntax format: iperf [parameters]
Common parameters:
-l sets the length of the read-write buffer-p sets the port, which is consistent with the listening port on the server side-o redirects the output to the specified file-t sets the total time to transfer-v displays version information and compilation information and exits
Reference example
At the same time, the client initiates 30 connection threads to the server, using 5Mbps as the data transmission rate:
[root@linuxcool] # iperf-u-c 192.168.1.1-b 100m-d-t 60
In tcp mode, the client uploads the bandwidth test to the server 192.168.1.1, and the test time is 60 seconds:
[root@linuxcool] # iperf-c 192.168.1.1-P 30-t 60
Start Iperf into server mode:
[root@linuxcool] # iperf-s
Test with the default settings of the server and the client:
[root@linuxcool] # iperf-s-w 300K
Test two-way transmission:
[root@linuxcool] # iperf-c 59.128.103.56-f K-I 2-w 300K-u Thank you for reading this article carefully. I hope it is helpful for the editor to share the content of network performance test using linux iperf command. At the same time, I also hope you can support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you!
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.