-
-
Save DeepInThought/6069a284f9b52d1740127009ab6cfeb4 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