Skip to content

Commit bc1dff8

Browse files
scripts
1 parent ba852da commit bc1dff8

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

scripts/install_iperf2.bash

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/bash
2+
3+
wget https://sourceforge.net/projects/iperf2/files/iperf-2.2.0.tar.gz/download
4+
mv ./download ./iperf-2.2.0.tar.gz
5+
6+
tar zxf ./iperf-2.2.0.tar.gz
7+
cd iperf-2.2.0 || exit
8+
9+
# git clone https://git.code.sf.net/p/iperf2/code iperf2-code
10+
# cd iperf2-code || exit
11+
./configure
12+
make
13+
echo "sudo make install"

scripts/start_iperf_client.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/usr/bin/bash
22

3+
echo /usr/local/bin/iperf -c 172.16.40.130 --interval 1 --time 30 -e -w 4M --tcp-write-prefetch 128K
34
/usr/local/bin/iperf -c 172.16.40.130 --interval 1 --time 30 -e -w 4M --tcp-write-prefetch 128K

0 commit comments

Comments
 (0)