Skip to content

Instantly share code, notes, and snippets.

@wtfaremyinitials
Last active February 11, 2021 19:56
Show Gist options
  • Save wtfaremyinitials/11744fa8eead2ff92950df4f12742e02 to your computer and use it in GitHub Desktop.
Save wtfaremyinitials/11744fa8eead2ff92950df4f12742e02 to your computer and use it in GitHub Desktop.
#!/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