From 41ecc6109bbd6708c425bf3412f9de80b3a66fd3 Mon Sep 17 00:00:00 2001 From: nik-netlox <66406124+nik-netlox@users.noreply.github.com> Date: Fri, 23 Jun 2023 14:52:25 +0900 Subject: [PATCH] Update iperf.sh --- cicd/tcpsctpperf/iperf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cicd/tcpsctpperf/iperf.sh b/cicd/tcpsctpperf/iperf.sh index 1c7f6908..a0ac8411 100755 --- a/cicd/tcpsctpperf/iperf.sh +++ b/cicd/tcpsctpperf/iperf.sh @@ -3,7 +3,7 @@ count=$1 time=$2 iperf -c 20.20.20.1 -t $time -p 12865 -P $count > iperf.log & -sleep $((time + 2)) +sleep $((time + 20)) res=$(grep SUM iperf.log | tail -1| xargs | cut -d ' ' -f 6) unit=$(grep SUM iperf.log | tail -1| xargs | cut -d ' ' -f 7) echo -e "TCP throughput \t\t: $res $unit"