Update Nlbench.sh

This commit is contained in:
Jensfrank 2024-07-04 17:33:20 +08:00 committed by GitHub
parent ad2b0ced31
commit a2f9055567
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -204,11 +204,10 @@ run_script() {
8)
echo -e "运行${YELLOW}iperf3测试...${NC}"
run_iperf3_test | tee "$temp_file"
sed -e 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file"
sed -i -e 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file"
sed -i -r '1,/\[ ID\] /d' "$temp_file"
cp "$temp_file" "${output_file}_iperf3"
;;
# 回程路由
9)