aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/assets/perftest/etc/dpi_average.sh
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/assets/perftest/etc/dpi_average.sh')
-rw-r--r--legacy/assets/perftest/etc/dpi_average.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/legacy/assets/perftest/etc/dpi_average.sh b/legacy/assets/perftest/etc/dpi_average.sh
new file mode 100644
index 00000000..405d3ff6
--- /dev/null
+++ b/legacy/assets/perftest/etc/dpi_average.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+COUNTER=0
+WDIR=$PWD
+while [ $COUNTER -lt 10 ]; do
+
+ echo $WDIR
+ $( ./ndpiReader -i test.pcap >> $WDIR/dpi_dump.txt )
+ let COUNTER=COUNTER+1
+ echo "Run number: $COUNTER"
+
+done
+
+