mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-11-10 10:05:18 +00:00
Update Nlbench.sh
This commit is contained in:
parent
1a753f480c
commit
45ee063a0d
@ -259,12 +259,12 @@ detect_region() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# 服务器 VPS 信息
|
# 服务器 VPS 信息
|
||||||
AUXILIARY_VPS="205.185.119.208"
|
AUXILIARY_VPS="107.189.11.25"
|
||||||
IPERF_PORT=5201
|
IPERF_PORT=5201
|
||||||
TEST_DURATION=30
|
TEST_DURATION=30
|
||||||
|
|
||||||
run_iperf3_test() {
|
run_iperf3_test() {
|
||||||
echo -e "${GREEN}服务端VPS位于美国拉斯维加斯${NC}"
|
echo -e "${GREEN}服务端VPS位于卢森堡${NC}"
|
||||||
echo -e "${GREEN}连接到服务端进行iperf3测试。。。${NC}"
|
echo -e "${GREEN}连接到服务端进行iperf3测试。。。${NC}"
|
||||||
timeout ${TEST_DURATION}s iperf3 -c $AUXILIARY_VPS -p $IPERF_PORT -t $TEST_DURATION
|
timeout ${TEST_DURATION}s iperf3 -c $AUXILIARY_VPS -p $IPERF_PORT -t $TEST_DURATION
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user