-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d81eb1
commit abd9616
Showing
12 changed files
with
3,104 additions
and
75 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
testping() | ||
{ | ||
echo "{start testing $2 ping}" >> ${dir}/$logfilename | ||
ping -c 5 $1 | tee -a ${dir}/$logfilename | ||
echo "{start testing $2 ping}" | ||
ping -c 5 $1 | ||
echo -e "\n\n" | ||
echo "{end testing}" >> ${dir}/$logfilename | ||
echo "{end testing}" | ||
} | ||
|
||
gotoping() | ||
{ | ||
echo "===开始测试跳板ping===">>${dir}/$logfilename | ||
echo "===开始测试跳板ping===" | ||
next | ||
testping speedtest.tokyo2.linode.com Linode日本 | ||
testping hnd-jp-ping.vultr.com Vultr日本 | ||
testping 192.157.214.6 Budgetvm洛杉矶 | ||
testping speedtest.kdatacenter.com kdatacenter韩国SK | ||
testping 210.92.18.1 星光韩国KT | ||
echo "===跳板ping测试结束===">>${dir}/$logfilename | ||
echo "===跳板ping测试结束===" | ||
} |
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
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
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
Oops, something went wrong.