Skip to content

A static build of iperf3 to do network testing on remote servers.

License

Notifications You must be signed in to change notification settings

mmoore-3lc/iperf3-static

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Built on Alpine linux 3.11 amd64

Dependencies

Alpine linux

apk add build-base pkgconf autoconf automake libtool git perl linux-headers

Debian linux

apt install -y build-essential pkg-config automake libtool git perl

Build Instructions

git clone https://github.com/esnet/iperf.git ~/iperf3
cd ~/iperf3
./configure --disable-shared --enable-static --prefix=$HOME CXXFLAGS="-std=c++14" CPPFLAGS="--static" LDFLAGS="--static"
make -j$(nproc)
make install

Check the linking was done properly.

ldd ~/bin/iperf3

Version

Use this command to check the version.

~/bin/iperf3 -v

Will show something like this.

iperf 3.7+ (cJSON 1.5.2)
Optional features available: CPU affinity setting, IPv6 flow label, TCP congestion algorithm setting, sendfile / zerocopy, socket pacing

Use the static binary in this repo.

Download and install to the bin directory of your local user (for root this may not be in the $PATH)

mkdir -p ~/bin && source ~/.profile
wget -qO ~/bin/iperf3 https://github.com/userdocs/iperf3-static/raw/master/bin/iperf3
chmod 700 ~/bin/iperf3

Check the version:

~/bin/iperf3 -v

About

A static build of iperf3 to do network testing on remote servers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published