mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-12-27 00:35:19 +00:00
Update Nlbench.sh
This commit is contained in:
parent
51161310db
commit
0f78b66e3f
@ -333,6 +333,7 @@ run_script() {
|
|||||||
sed -i -r 's/(⠋|⠙|⠹|⠸|⠼|⠴|⠦|⠧|⠇|⠏)/\n/g' "$temp_file"
|
sed -i -r 's/(⠋|⠙|⠹|⠸|⠼|⠴|⠦|⠧|⠇|⠏)/\n/g' "$temp_file"
|
||||||
sed -i -r '/正在检测/d' "$temp_file"
|
sed -i -r '/正在检测/d' "$temp_file"
|
||||||
sed -i -n '/########################################################################/,${s/^.*\(########################################################################\)/\1/;p}' "$temp_file"
|
sed -i -n '/########################################################################/,${s/^.*\(########################################################################\)/\1/;p}' "$temp_file"
|
||||||
|
sed -i '/^$/d' "$temp_file"
|
||||||
cp "$temp_file" "${output_file}_ip_quality"
|
cp "$temp_file" "${output_file}_ip_quality"
|
||||||
;;
|
;;
|
||||||
# 流媒体解锁
|
# 流媒体解锁
|
||||||
@ -367,6 +368,7 @@ run_script() {
|
|||||||
sed -i -r '1,/序号\:/d' "$temp_file"
|
sed -i -r '1,/序号\:/d' "$temp_file"
|
||||||
sed -i -r 's/(⠋|⠙|⠹|⠸|⠼|⠴|⠦|⠧|⠇|⠏)/\n/g' "$temp_file"
|
sed -i -r 's/(⠋|⠙|⠹|⠸|⠼|⠴|⠦|⠧|⠇|⠏)/\n/g' "$temp_file"
|
||||||
sed -i -r '/测试进行中/d' "$temp_file"
|
sed -i -r '/测试进行中/d' "$temp_file"
|
||||||
|
sed -i '/^$/d' "$temp_file"
|
||||||
cp "$temp_file" "${output_file}_multi_thread"
|
cp "$temp_file" "${output_file}_multi_thread"
|
||||||
;;
|
;;
|
||||||
# 单线程测速
|
# 单线程测速
|
||||||
@ -383,6 +385,7 @@ run_script() {
|
|||||||
sed -i -r '1,/序号\:/d' "$temp_file"
|
sed -i -r '1,/序号\:/d' "$temp_file"
|
||||||
sed -i -r 's/(⠋|⠙|⠹|⠸|⠼|⠴|⠦|⠧|⠇|⠏)/\n/g' "$temp_file"
|
sed -i -r 's/(⠋|⠙|⠹|⠸|⠼|⠴|⠦|⠧|⠇|⠏)/\n/g' "$temp_file"
|
||||||
sed -i -r '/测试进行中/d' "$temp_file"
|
sed -i -r '/测试进行中/d' "$temp_file"
|
||||||
|
sed -i '/^$/d' "$temp_file"
|
||||||
cp "$temp_file" "${output_file}_single_thread"
|
cp "$temp_file" "${output_file}_single_thread"
|
||||||
;;
|
;;
|
||||||
# iperf3测试
|
# iperf3测试
|
||||||
|
Loading…
Reference in New Issue
Block a user