iperf3 x86和Arm版本安装及用法

1. 常用命令

1.1 启动server端

iperf3 -s -p 端口号

例如 iperf3 -s -p 9000

默认端口为5210

1.2 client测试

iperf3 -c 服务器IP -p 服务器端口

iperf3 -c 192.168.1.60 -p 9000

reference:

iperf2 / iperf3

Iperf3工具的安装与使用测试案例及各参数_鹏老板的博客-CSDN博客_iperf3安装

2. Linux x86环境安装

在Ubuntu环境下验证过的安装脚本:

echo "intall iperf3..."
# 下载
wget https://github.com/esnet/iperf/archive/refs/tags/3.11.zip
unzip 3.11.zip
cd iperf-3.11/

# 编译  
./configure 
make
make install
# 配置
/sbin/ldconfig
echo "intalled iperf3."

3. Linux arm 环境安装

      网上不好找 Linux环境arm版的安装包,aarch-64环境的就更难找了,有几个下载链接还是收费的。

      下面是收集到的可以免费下载的安装包:

iPerf - Download iPerf3 and original iPerf pre-compiled binarieshttps://iperf.fr/iperf-download.php

aarch-64版本

RPM resource iperf3(aarch-64)

aarch64系统安装过程

系统信息:

uname -m = aarch64
uname -r = 4.19.36-vhulk1907.1.0.h1103.eulerosv2r8.aarch64
uname -s = Linux

 安装脚本(需要root权限):

# 3.11 版本安装不成功
# wget http://rpmfind.net/linux/fedora/linux/development/rawhide/Everything/aarch64/os/Packages/i/iperf3-3.11-1.fc37.aarch64.rpm

# wget http://mirror.centos.org/centos/8-stream/AppStream/aarch64/os/Packages/iperf3-3.5-6.el8.aarch64.rpm

wget http://rpmfind.net/linux/centos/8-stream/AppStream/aarch64/os/Packages/iperf3-3.5-6.el8.aarch64.rpm

sudo dnf install iperf3-3.5-6.el8.aarch64.rpm

Reference:

iperf3-3.5-6.el8.aarch64.rpm CentOS 8 Stream Download

https://pkgs.org/download/iperf3

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值