summaryrefslogtreecommitdiffstats
path: root/t/t8_num.sh
blob: f041cdfa35cc4ae5bf2e714266f71ded409cb326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash -e
. $(dirname $0)/base.sh

# usage:
# run_iperf -s server args   -c client args
#
# client args should contain $ip or -V $ip6
# results returned in $results

run_iperf    \
    -s -P 1 -i 1 -t 8     \
    -c $ip -P 1 -i 1 --num 1G