From 4c022f3814b40cd9f40635e38379dd5333aa7772 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 4 Apr 2019 11:41:43 +0200 Subject: [PATCH] Add blacklisted script --- scripts/generate_csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_csv b/scripts/generate_csv index 1b4195d..9ff96bc 100755 --- a/scripts/generate_csv +++ b/scripts/generate_csv @@ -21,4 +21,4 @@ echo "rrh latencies global" echo "rrh latencies distri" { echo "hs,type,delta";ls|grep '^rrh-'|while read -r line; do cat $line/res/rrh.csv|grep -Po "\d*µs"|grep -Po "\d*"|python3 ./format-data.py $line; done } > rrh_latencies_distri.csv { echo 'run,rcv' ; ls|grep '^rrh-'|while read -r line; do echo -n "$line,"; cat $line/res/rrh.csv|grep -Po "\d*µs"|grep -Po "\d*"|wc -l; done } > rrh_lost.csv - +{ echo "run,dead_links"; ls|grep '^rrh-'|while read line; do echo -n "$line,"; grep -Po 'Blacklist link=\d' $line/log/server-donar-stdout.log | sort | uniq -c | wc -l; done } > rrh_blacklisted.csv