mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-18 03:26:48 +00:00
iperf.sh: wait one second before killing processes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user