iperf

Measure network bandwidth between computers. More information: <https://iperf.fr>.

Install

All systems
curl cmd.cat/iperf.sh
Debian Debian
apt-get install iperf
Ubuntu
apt-get install iperf
Alpine
apk add iperf
Arch Arch Linux
pacman -S iperf
image/svg+xml Kali Linux
apt-get install iperf
Fedora
dnf install iperf
Windows (WSL2)
sudo apt-get update sudo apt-get install iperf
OS X
brew install iperf
Raspbian
apt-get install iperf
Docker
docker run cmd.cat/iperf iperf powered by Commando

Measure network bandwidth between computers. More information: <https://iperf.fr>.

  • Run on server:
    iperf -s
  • Run on server using UDP mode and set server port to listen on 5001:
    iperf -u -s -p 5001
  • Run on client:
    iperf -c server_address
  • Run on client every 2 seconds:
    iperf -c server_address -i 2
  • Run on client with 5 parallel threads:
    iperf -c server_address -P 5
  • Run on client using UDP mode:
    iperf -u -c server_address -p 5001

© tl;dr; authors and contributors