Last active
February 16, 2024 20:28
-
-
Save clarkzjw/b8d06b55e9ad47d40c8a554335dc6590 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
#!/usr/bin/env bash | |
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | |
cat $SCRIPT_DIR/test.sh | |
set -x | |
mkdir /artifacts | |
curl -4 ipconfig.io | |
traceroute -enm 18 -w 1 us-east.linode.jinwei.me | |
traceroute -em 18 -w 1 us-east.linode.jinwei.me | |
chmod +x /leotest/leotest/bin/irtt | |
filename=/artifacts/irtt-10ms-5m-`date "+%y%m%d-%H%M%S"` | |
/leotest/leotest/bin/irtt client -4 -Q -i 10ms -d 10m us-east.linode.jinwei.me:2112 -o $filename.json | |
tar --remove-files --zstd -cf $filename.tar.zst $filename.json | |
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
#!/usr/bin/env bash | |
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | |
cat $SCRIPT_DIR/test.sh | |
set -x | |
mkdir /artifacts | |
curl -4 ipconfig.io | |
traceroute -enm 18 -w 1 eu-lhr.linode.jinwei.me | |
traceroute -em 18 -w 1 eu-lhr.linode.jinwei.me | |
chmod +x /leotest/leotest/bin/irtt | |
filename=/artifacts/irtt-10ms-5m-`date "+%y%m%d-%H%M%S"` | |
/leotest/leotest/bin/irtt client -4 -Q -i 10ms -d 10m eu-lhr.linode.jinwei.me:2112 -o $filename.json | |
tar --remove-files --zstd -cf $filename.tar.zst $filename.json | |
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
#!/usr/bin/env bash | |
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | |
cat $SCRIPT_DIR/test.sh | |
set -x | |
mkdir /artifacts | |
curl -4 ipconfig.io | |
traceroute 1.1.1.1 | |
for i in $(seq 108 109); do for j in $(seq 0 255); do traceroute -enm 18 -w 1 149.19.$i.$j; done; done | |
for i in $(seq 64 67); do for j in $(seq 0 255); do traceroute -enm 18 -w 1 206.224.$i.$j; done; done | |
ping -D -i 0.01 -c 12000 100.64.0.1 > /artifacts/ping-gw-`date "+%y%m%d-%H%M%S"`.txt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment