Browse Source

iperf.sh: wait one second before killing processes

pull/1265/head
Neal Feng 7 years ago
committed by Max Lv
parent
commit
0437e05aa8
1 changed files with 4 additions and 0 deletions
  1. 4
      scripts/iperf.sh

4
scripts/iperf.sh

@ -15,6 +15,10 @@ sleep 1
iperf -c 127.0.0.1 -p 8387 -n $number
# Wait for iperf server to receive all data.
# One second should be enough in most cases.
sleep 1
kill $ss_tunnel_pid
kill $ss_server_pid
kill $iperf_pid

Loading…
Cancel
Save