Last active
February 11, 2021 19:56
-
-
Save wtfaremyinitials/11744fa8eead2ff92950df4f12742e02 to your computer and use it in GitHub Desktop.
This file contains 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 | |
# speedtest.sh [host] | |
ssh $1 iperf3 -s > /dev/null 2>&1 & sshpid=$$ | |
sleep 5 | |
iperf3 -c $1 | |
kill $sshpid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment