centos7 iperf3 安装和使用

发布时间:2024-09-07 11:01

1.在centos7 主机A 和主机B 上安装iperf3

# yum install -y iperf3
Total download size: 79 k
Installed size: 197 k
Downloading packages:
iperf3-3.1.7-2.el7.x86_64.rpm                                                                                                          |  79 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : iperf3-3.1.7-2.el7.x86_64                                                                                                                  1/1 
  Verifying  : iperf3-3.1.7-2.el7.x86_64                                                                                                                  1/1 

Installed:
  iperf3.x86_64 0:3.1.7-2.el7           

 2. 在主机A上启动iperf3,作为server 

#iperf3 -version
# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------

  3. 在主机B上启动iperf3,作为client 向serverA 发起连接

iperf3 -c  -d -t 60

输出例子如下: 

\"centos7

 更多的用法:

iperf3 -help

ItVuer - 免责声明 - 关于我们 - 联系我们

本网站信息来源于互联网,如有侵权请联系:561261067@qq.com

桂ICP备16001015号