implemented automated speedtest against multiple servers

This commit is contained in:
Peter IJlst 2014-07-02 17:05:07 +02:00
parent f1647f2c9e
commit 8a4645d144
1 changed files with 16 additions and 0 deletions

16
speedtest.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
declare -a SERVERS
SERVERS[1671]="Vodafone, Utrecht"
SERVERS[4358]="KPN, Amsterdam"
SERVERS[3587]="LeaseWeb, Haarlem"
SERVERS[2104]="Luna.nl, Rotterdam"
for SERVER in ${!SERVERS[@]}
do
echo "Location: ${SERVERS[$SERVER]}"
${SCRIPT_DIR}/speedtest_cli.py --server $SERVER --simple
echo
done