mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-11-10 10:05:18 +00:00
Update Nlbench_beta.sh
This commit is contained in:
parent
2ec38ac32e
commit
1a667aef61
@ -185,7 +185,7 @@ speedtest_multi_process_output() {
|
|||||||
|
|
||||||
# Step 3: 截取所需的测试结果
|
# Step 3: 截取所需的测试结果
|
||||||
local speedtest_multi_process_output_result
|
local speedtest_multi_process_output_result
|
||||||
speedtest_multi_process_output_result=$(echo "$no_progress" | awk '/大陆三网+教育网 IPv4 多线程测速/{f=1} f; /北京时间/{f=0}')
|
speedtest_multi_process_output_result=$(echo "$no_progress" | awk '/大陆三网\+教育网 IPv4 多线程测速/{f=1} f; /北京时间/{f=0}')
|
||||||
echo "$speedtest_multi_process_output_result"
|
echo "$speedtest_multi_process_output_result"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -204,7 +204,7 @@ speedtest_single_process_output() {
|
|||||||
|
|
||||||
# Step 3: 截取所需的测试结果
|
# Step 3: 截取所需的测试结果
|
||||||
local speedtest_single_process_output_result
|
local speedtest_single_process_output_result
|
||||||
speedtest_single_process_output_result=$(echo "$no_progress" | awk '/大陆三网+教育网 IPv4 单线程测速/{f=1} f; /北京时间/{f=0}')
|
speedtest_single_process_output_result=$(echo "$no_progress" | awk '/大陆三网\+教育网 IPv4 单线程测速/{f=1} f; /北京时间/{f=0}')
|
||||||
echo "$speedtest_single_process_output_result"
|
echo "$speedtest_single_process_output_result"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user