centos7 iperf3 安装和使用

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 安装和使用_第1张图片

 更多的用法:

iperf3 -help

你可能感兴趣的:(perf)