Skip to content

Instantly share code, notes, and snippets.

@dianariyanto
Created February 17, 2022 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dianariyanto/7e91f918beeba11bbb7210c38a393fc3 to your computer and use it in GitHub Desktop.
Save dianariyanto/7e91f918beeba11bbb7210c38a393fc3 to your computer and use it in GitHub Desktop.
Simple script to check multiwan loadbalance
#!/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