Created
March 19, 2021 03:45
-
-
Save steveyiyo/d6c63d72bf6c73a1a8409943ebbe5c39 to your computer and use it in GitHub Desktop.
Run iperf3 with the random speed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
stop=0 | |
while [ $stop -le 10 ]; do | |
speed=$(shuf -i 1000000000-10000000000 -n 1) | |
echo "$speed" | |
iperf3 -c 103.158.187.18 -b "$speed" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment