Last active
June 2, 2024 20:28
-
-
Save waleedahmad/6d5d1d673c5dc50af798c467cbf320c2 to your computer and use it in GitHub Desktop.
DOTA Servers Ping Test
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
echo "DOTA Servers PING Test" | |
echo "----------------------" | |
echo "Region | Location | IP Address | Avg. ping" | |
s_ping=$(ping -c5 192.69.96.1 | tail -1| awk '{print $4}' | cut -d '/' -f 2) | |
echo "US WEST | Washington, USA | 192.69.96.1 | $s_ping" | |
s_ping=$(ping -c5 208.78.164.1 | tail -1| awk '{print $4}' | cut -d '/' -f 2) | |
echo "US EAST | Sterling, USA | 208.78.164.1 | $s_ping" | |
s_ping=$(ping -c5 146.66.155.1 | tail -1| awk '{print $4}' | cut -d '/' -f 2) | |
echo "EU EAST | Vienna, Austria | 146.66.155.1 | $s_ping" | |
s_ping=$(ping -c5 103.28.54.1 | tail -1| awk '{print $4}' | cut -d '/' -f 2) | |
echo "SEA | Singapore | 103.28.54.1 | $s_ping" | |
s_ping=$(ping -c5 103.10.124.1 | tail -1| awk '{print $4}' | cut -d '/' -f 2) | |
echo "SEA (2) | Singapore | 103.10.124.1 | $s_ping" | |
s_ping=$(ping -c5 209.197.25.1 | tail -1| awk '{print $4}' | cut -d '/' -f 2) | |
echo "SA (America) | Brazil | 209.197.25.1 | $s_ping" | |
s_ping=$(ping -c5 197.80.200.1 | tail -1| awk '{print $4}' | cut -d '/' -f 2) | |
echo "SA (Arica) | Cape Town | 197.80.200.1 | $s_ping" | |
s_ping=$(ping -c5 196.38.180.1 | tail -1| awk '{print $4}' | cut -d '/' -f 2) | |
echo "SA (Africa 2) | Cape Town | 196.38.180.1 | $s_ping" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello How it work ? can you help more