mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-12-27 16:55:21 +00:00
Update Nlbench.sh
This commit is contained in:
parent
c88b1c2f10
commit
4535060500
@ -84,14 +84,15 @@ detect_region() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
# 辅助 VPS 信息
|
# 服务器 VPS 信息
|
||||||
AUXILIARY_VPS="205.185.119.208"
|
AUXILIARY_VPS="205.185.119.208"
|
||||||
IPERF_PORT=5201
|
IPERF_PORT=5201
|
||||||
TEST_DURATION=30
|
TEST_DURATION=30
|
||||||
PARALLEL_STREAMS=3
|
PARALLEL_STREAMS=3
|
||||||
|
|
||||||
run_iperf3_test() {
|
run_iperf3_test() {
|
||||||
echo -e "${GREEN}连接到服务端iperf3中。。。${NC}"
|
echo -e "${GREEN}服务端VPS位于美国拉斯维加斯${NC}"
|
||||||
|
echo -e "${GREEN}连接到服务端进行iperf3测试。。。${NC}"
|
||||||
if iperf3 -c $AUXILIARY_VPS -p $IPERF_PORT -t $TEST_DURATION -P $PARALLEL_STREAMS; then
|
if iperf3 -c $AUXILIARY_VPS -p $IPERF_PORT -t $TEST_DURATION -P $PARALLEL_STREAMS; then
|
||||||
echo -e "${YELLOW}iperf3 测试完成${NC}"
|
echo -e "${YELLOW}iperf3 测试完成${NC}"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user