mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
l7-protocol: import from old package repository
l7-protocol classifies packets based on patterns in application layer data.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
--- a/testing/doallspeeds.sh
|
||||
+++ b/testing/doallspeeds.sh
|
||||
@@ -25,11 +25,11 @@ for f in ../*/*.pat; do
|
||||
printf `basename $f .pat`
|
||||
|
||||
if [ $userspace ]; then
|
||||
- gtime=`./timeit.sh $f userspace real | grep Total | cut -d\ -f 2`
|
||||
+ gtime=`./timeit.sh $f userspace real | grep Total | cut -d\ -f 2 | awk '{print $1}'`
|
||||
printf \\t$gtime
|
||||
fi
|
||||
if [ $kernel ]; then
|
||||
- htime=`./timeit.sh $f kernel real | grep Total | cut -d\ -f 2`
|
||||
+ htime=`./timeit.sh $f kernel real | grep Total | cut -d\ -f 2 | awk '{print $1}'`
|
||||
printf \\t$htime
|
||||
fi
|
||||
printf \\n
|
||||
Reference in New Issue
Block a user