android iperf 命令行,GitHub - KnightWhoSayNi/android-iperf: Pre-compiled iPerf binaries for Android + D...

android-iperf

68747470733a2f2f7472617669732d63692e636f6d2f4b6e6967687457686f5361794e692f616e64726f69642d69706572662e7376673f6272616e63683d6d617374657268747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4e61657265656e2f5374726170446f776e2e6a732e737667

Getting Started

What is iPerf / iPerf3 ?

iPerf3 is a tool for active measurements of the maximum achievable bandwidth on IP networks. It supports tuning of various parameters related to timing, buffers and protocols (TCP, UDP, SCTP with IPv4 and IPv6). For each test it reports the bandwidth, loss, and other parameters. This is a new implementation that shares no code with the original iPerf and also is not backwards compatible. iPerf was orginally developed by NLANR/DAST. iPerf3 is principally developed by ESnet / Lawrence Berkeley National Laboratory. It is released under a three-clause BSD license.

Remark No iPerf/iPerf3 source codes are included in this repo

Supported versions

iPerf2

Version

Release day

Source Code

2.0.5

2010-07-08

2.0.10

2017-08-11

2.0.12 compiled w/o PTHREADS!

2018-06-26

2.0.13 compiled w/o PTHREADS!

2019-01-22

iPerf3

Version

Release day

Source Code

3.1.6

2017-02-02

3.1.7

2017-03-03

3.2

2017-06-26

3.2rc1

2017-06-19

3.3

2017-10-30

3.4

2018-02-12

3.5

2018-02-28

3.6

2018-06-22

3.7

2019-06-20

3.8

2020-06-08

3.8.1

2020-06-10

3.9

2020-08-17

Download

Pre-build iPerf/iPerf3 binaries for Android 7.0 (API level 24) with SDK 4333796 and NDK r19 using Travis-CI Deployment.

ABI

Binaries

arm64-v8a

armeabi-v7a

x86_64

To get supported ABI by an Android device:

adb shell getprop ro.product.cpu.abilist

Build

Prerequisites

Docker

Running

Clone this repo

Build image from Dockerfile

docker build -t android-ndk:latest .

Run container and fetch binaries

docker run -d --name android-ndk-container android-ndk

mkdir -p binaries

docker cp -a android-ndk-container:/tmp/libs binaries

docker stop android-ndk-container

Usage

To upload binary file to an Android device

adb push /data/local/tmp/

adb shell chmod 777 /data/local/tmp/

Set a default iPerf2 version

adb shell ln -s /data/local/tmp/ iperf

Executing iPerf2

adb shell /data/local/tmp/iperf

Set a default iPerf3 version

adb shell ln -s /data/local/tmp/ iperf3

Executing iPerf3

adb shell /data/local/tmp/iperf3

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

iPerf community - iperf.fr

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值