Skip to content

Instantly share code, notes, and snippets.

@pm-hwks
Created August 22, 2019 20:12
Show Gist options
  • Save pm-hwks/cf88ef10dcdf987567e1953b4b793596 to your computer and use it in GitHub Desktop.
Save pm-hwks/cf88ef10dcdf987567e1953b4b793596 to your computer and use it in GitHub Desktop.
[iperf - network performance testing] Netowrk performance testing using iperf #network #iperf #perf #linux
## Reference : https://www.tecmint.com/test-network-throughput-in-linux/
## Install iperf
sudo apt install iperf3 #Debian/Ubuntu
sudo yum install iperf3 #RHEL/CentOS
sudo dnf install iperf3 #Fedora 22+
## Start the server an port 3000
iperf3 -s -f K -p 3000
## Run the client
iperf3 -c 10.0.1.148 -f K -p 3000
## Other client flags
-R : reverse mode (send file from server)
-d : duplex mode (send & receive file from both ends)
-P 3 : run three parallel threads
--get-server-output : shows the server output on client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment