Created
August 19, 2017 21:10
-
-
Save eXtrem0us/ce7a979f0453280b3347cf9632919a31 to your computer and use it in GitHub Desktop.
Benchmark of Network and Disk thruput in a cloud env
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 | |
while read -r line | |
do | |
wget -q -t0 $line -O /dev/null -o /dev/null & | |
while [ $(ps -e|grep wget|wc -l) -gt 8 ] | |
do | |
sleep 1 | |
done | |
done < list.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment