Skip to content

Instantly share code, notes, and snippets.

@stephen-soltesz
Created February 21, 2018 23:24
Show Gist options
  • Save stephen-soltesz/f43d8a0efa3f99db2a7fd396fc9016df to your computer and use it in GitHub Desktop.
Save stephen-soltesz/f43d8a0efa3f99db2a7fd396fc9016df to your computer and use it in GitHub Desktop.
bash-4.1# cat increase.sh
#/bin/bash
c=1
while true ; do
echo RUNNING `date --rfc-3339=seconds` - $c
for minute in 1 2 3 4 ; do
for i in `seq 1 $c` ; do
./web100clt -n ndt.iupui.mlab1.iad1t.measurement-lab.org -p 3001 --disablemid --disablec2s --disablesfw &
done
wait
done
c=$[ $c + 1 ]
if [[ $c -gt 40 ]] ; then
c=1
fi
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment