Created
February 17, 2022 17:42
-
-
Save dianariyanto/7e91f918beeba11bbb7210c38a393fc3 to your computer and use it in GitHub Desktop.
Simple script to check multiwan loadbalance
This file contains hidden or 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 | |
# https://www.shellcheck.net/ | |
for i in `seq 1 9000`; | |
do | |
ip=$(curl -s "https://projects.milankragujevic.com/ip.php") | |
echo -e "\e[36;1m" $i "\e[0m served from : $ip" | |
#ping -c 1 192.168.1.1 | |
#ping -c 1 192.168.3.1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment