Created
February 23, 2016 14:48
-
-
Save gbraccialli/6b706f249a3cd6b67c75 to your computer and use it in GitHub Desktop.
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
clush -a "nohup iperf3 -s > /tmp/iperf3.out 2>&1 &" | |
for host in `cat hosts.txt | paste -s -d' '` | |
do | |
for host2 in `cat hosts2.txt | paste -s -d' '` | |
do | |
ssh ${host} "iperf3 -c ${host2} -P 3 -t 3" > /tmp/iperf3_from_${host}_to_${host2} | |
done | |
done | |
cd /tmp | |
grep "SUM" iperf3* | grep "0.00-3.00" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment