Skip to content

Commit 3fb0f37

Browse files
author
NorNet Praesum Presum
committed
Further script clean-ups.
1 parent 7dd1f6d commit 3fb0f37

File tree

7 files changed

+21
-20
lines changed

7 files changed

+21
-20
lines changed

src/flowtest-dccp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ rm -f vgcore.* core.* core
5454

5555
# ====== Run NetPerfMeter ===================================================
5656
./netperfmeter "${SERVER}:${PORT}" \
57-
-vector=dccp.vec -scalar=dccp.sca \
58-
-dccp const80:const10000:const80:const10000 \
59-
-dccp const80:const10000:const80:const10000 \
60-
-dccp const80:const10000:const80:const10000 \
61-
-dccp const80:const10000:const80:const10000 \
62-
-dccp const80:const10000:const80:const10000 \
63-
-dccp const80:const10000:const80:const10000 \
64-
-dccp const80:const10000:const80:const10000 \
65-
-dccp const80:const10000:const80:const10000 \
66-
-dccp const80:const10000:const80:const10000 \
67-
-dccp const80:const10000:const80:const10000 \
57+
-config=dccp.config -vector=dccp.vec -scalar=dccp.sca \
58+
-dccp const80:const1000:const80:const1000 \
59+
-dccp const80:const1000:const80:const1000 \
60+
-dccp const80:const1000:const80:const1000 \
61+
-dccp const80:const1000:const80:const1000 \
62+
-dccp const80:const1000:const80:const1000 \
63+
-dccp const80:const1000:const80:const1000 \
64+
-dccp const80:const1000:const80:const1000 \
65+
-dccp const80:const1000:const80:const1000 \
66+
-dccp const80:const1000:const80:const1000 \
67+
-dccp const80:const1000:const80:const1000 \
6868
-runtime="${RUNTIME}"

src/flowtest-many

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ i=0 ; while [ $i -lt $UDP_FLOWS ] ; do
7171
options="${options} -udp ${UDP_PARAMS}"
7272
i=$((i+1))
7373
done
74-
7574
echo "OPTIONS=${options}"
75+
7676
# shellcheck disable=SC2086
7777
./netperfmeter "${SERVER}:${PORT}" \
78+
-config=many.config -vector=many.vec -scalar=many.sca \
7879
${options} \
7980
-runtime="${RUNTIME}"

src/flowtest-misc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
đ#!/usr/bin/env bash
22
# ==========================================================================
33
# _ _ _ ____ __ __ __ _
44
# | \ | | ___| |_| _ \ ___ _ __ / _| \/ | ___| |_ ___ _ __
@@ -47,13 +47,13 @@ rm -f vgcore.* core.* core
4747
# ====== Run NetPerfMeter ===================================================
4848
./netperfmeter "${SERVER}:${PORT}" \
4949
-control-over-tcp \
50-
-scalar=x.sca.bz2 -vector=x.vec.bz2 \
50+
-config=multi1.config -scalar=multi1.sca.bz2 -vector=multi1.vec.bz2 \
5151
-tcp const30:const68000:const30:const68000:maxmsgsize=1300 \
5252
-runtime=5
5353

5454
./netperfmeter "${SERVER}:${PORT}" \
5555
-control-over-tcp \
56-
-scalar=y.sca.bz2 -vector=y.vec.bz2 \
56+
-config=multi1.config -scalar=multi1.sca.bz2 -vector=multi1.vec.bz2 \
5757
-udp const30:const68000:const30:const68000:maxmsgsize=1300 \
5858
-tcp const30:const68000:const30:const68000:maxmsgsize=1300 \
5959
-sctp const30:const68000:const30:const68000:maxmsgsize=1300 \
@@ -62,6 +62,6 @@ rm -f vgcore.* core.* core
6262

6363
./netperfmeter "${SERVER}:${PORT}" \
6464
-control-over-tcp \
65-
-scalar=y.sca.bz2 -vector=y.vec.bz2 \
65+
-config=multi3.config -scalar=multi3.sca.bz2 -vector=multi3.vec.bz2 \
6666
-sctp const30:const6800:const30:const6800:maxmsgsize=1300 const30:const6800:const30:const6800:maxmsgsize=1300 const30:const6800:const30:const6800:maxmsgsize=1300 \
6767
-runtime=5

src/flowtest-multi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ rm -f vgcore.* core.* core
5454

5555
# ====== Run NetPerfMeter ===================================================
5656
./netperfmeter "${SERVER}:${PORT}" \
57-
-vector=multi.vec -scalar=multi.sca \
57+
-config=multi.config -vector=multi.vec -scalar=multi.sca \
5858
-tcp const10:const1000:const10:const1000 \
5959
-udp const10:const1000:const10:const1000 \
6060
-dccp const10:const1000:const10:const1000 \

src/flowtest-sctp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ rm -f vgcore.* core.* core
5454

5555
# ====== Run NetPerfMeter ===================================================
5656
./netperfmeter "${SERVER}:${PORT}" \
57-
-vector=sctp.vec -scalar=sctp.sca \
57+
-config=sctp.config -vector=sctp.vec -scalar=sctp.sca \
5858
-sctp \
5959
const8:const10000:const8:const10000 \
6060
const8:const10000:const8:const10000 \

src/flowtest-wireshark

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ rm -f vgcore.* core.* core
6767
# ====== Run NetPerfMeter ===================================================
6868
# make && valgrind --tool=helgrind \
6969
./netperfmeter "${SERVER}:${PORT}" \
70-
-vector=f.vec.bz2 -scalar=f.sca.bz2 \
70+
-config=wireshark.config -vector=wireshark.vec.bz2 -scalar=wireshark.sca.bz2 \
7171
-tcp const4:const1024:const3:const1024 \
7272
-tcp const2:const512:const3:const512 \
7373
-udp const4:const1024:const3:const1024 \

src/netperfmeter.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ Some netperfmeter usage examples:
229229
.Bl -tag -width indent
230230
.It netperfmeter 9000
231231
Start in passive mode, i.e. accepting connections, on port 9000.
232-
.It netperfmeter 172.16.255.254:\%9000 -vector=\%output.vec.bz2 -scalar=\%output.sca.bz2 -sctp const5:\%exp1000:\%const3:\%exp500:\%description=\%"Alpha":\%onoff=\%+10 const5:\%exp1000:\%const3:\%exp500:\%description=\%"Beta":\%onoff=\%+30 -tcp const5:\%exp1000:\%const3:\%exp500:\%description=\%"Gamma":\%onoff=\%+60 -runtime=\%300
232+
.It netperfmeter 172.16.255.254:\%9000 -config=output.config -vector=\%output.vec.bz2 -scalar=\%output.sca.bz2 -sctp const5:\%exp1000:\%const3:\%exp500:\%description=\%"Alpha":\%onoff=\%+10 const5:\%exp1000:\%const3:\%exp500:\%description=\%"Beta":\%onoff=\%+30 -tcp const5:\%exp1000:\%const3:\%exp500:\%description=\%"Gamma":\%onoff=\%+60 -runtime=\%300
233233
Start in active mode, i.e. establish connection to 172.16.255.254, port 9000.
234234
Frames will be segmented into messages of up to 4096 bytes.
235235
Write vectors to output.vec.bz2 (BZip2-compressed).

0 commit comments

Comments
 (0)