Created
March 5, 2015 14:39
-
-
Save wesley6j/bb00597ae948d76b4da2 to your computer and use it in GitHub Desktop.
This file contains 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 | |
# This script runs on os x. | |
SITES=( "speedtest-lon1.digitalocean.com" \ | |
"speedtest-sfo1.digitalocean.com" \ | |
"speedtest-ams1.digitalocean.com" \ | |
"speedtest-ams2.digitalocean.com" \ | |
"speedtest-nyc1.digitalocean.com" \ | |
"speedtest-nyc2.digitalocean.com" \ | |
"speedtest-nyc3.digitalocean.com" \ | |
"speedtest-sgp1.digitalocean.com" \ | |
) | |
for SITE in "${SITES[@]}" | |
do | |
: | |
echo "##########################" | |
echo "==========================" | |
echo "${SITE}" | |
ping -c 5 ${SITE} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When testing it, I get: