centos7 iperf3 安装和使用

痛定思痛。 2023-02-14 01:35 72阅读 0赞

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

  1. # yum install -y iperf3
  2. Total download size: 79 k
  3. Installed size: 197 k
  4. Downloading packages:
  5. iperf3-3.1.7-2.el7.x86_64.rpm | 79 kB 00:00:00
  6. Running transaction check
  7. Running transaction test
  8. Transaction test succeeded
  9. Running transaction
  10. Warning: RPMDB altered outside of yum.
  11. Installing : iperf3-3.1.7-2.el7.x86_64 1/1
  12. Verifying : iperf3-3.1.7-2.el7.x86_64 1/1
  13. Installed:
  14. iperf3.x86_64 0:3.1.7-2.el7
  1. 在主机A上启动iperf3,作为server

    iperf3 -version

    iperf3 -s


    Server listening on 5201

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

    iperf3 -c -d -t 60

输出例子如下:

watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2JpZ3RyZWVfMzcyMQ_size_16_color_FFFFFF_t_70

更多的用法:

iperf3 -help

发表评论

表情:
评论列表 (有 0 条评论,72人围观)

还没有评论,来说两句吧...

相关阅读