mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-11-14 12:05:19 +00:00
Update Nlbench.sh
This commit is contained in:
parent
201945a3b9
commit
ad2b0ced31
@ -205,6 +205,7 @@ run_script() {
|
|||||||
echo -e "运行${YELLOW}iperf3测试...${NC}"
|
echo -e "运行${YELLOW}iperf3测试...${NC}"
|
||||||
run_iperf3_test | tee "$temp_file"
|
run_iperf3_test | tee "$temp_file"
|
||||||
sed -e 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file"
|
sed -e 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file"
|
||||||
|
sed -i -r '1,/\[ ID\] /d' "$temp_file"
|
||||||
cp "$temp_file" "${output_file}_iperf3"
|
cp "$temp_file" "${output_file}_iperf3"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user