From b1f2b62c7c76a53e30d70588e4bf4da09355c65b Mon Sep 17 00:00:00 2001 From: Andreas Lindhé Date: Fri, 20 Oct 2017 18:44:59 +0200 Subject: Change test threashhold to 10% --- broccoli/script/measure-packets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/broccoli/script/measure-packets.sh b/broccoli/script/measure-packets.sh index 94080ea..0e77bf8 100644 --- a/broccoli/script/measure-packets.sh +++ b/broccoli/script/measure-packets.sh @@ -90,7 +90,7 @@ BRO_DIR=$(execute_command "mktemp --directory --tmpdir bro.XXX") BRO_PID=$(execute_command "bro -i \"${BRO_INTERFACE}\" -C -b Log::default_writer=Log::WRITER_NONE \"${BRO_SCRIPT}\" > ${BRO_DIR}/bro-out.txt 2> ${BRO_DIR}/bro-err.txt & echo \$!") sleep 10 IDLECPU=$(execute_command "ps -q ${BRO_PID} -o pcpu --no-headers") -IDLE=$(echo "${IDLECPU}+5.0" | bc); +IDLE=$(echo "${IDLECPU}+10" | bc); echo "Idle baseload is: $IDLE"; execute_command "killall bro" -- cgit v1.2.3