From 80fce34577a87c731bfd0fcab7e00bf75940b480 Mon Sep 17 00:00:00 2001 From: Razvan Deaconescu Date: Sat, 14 Aug 2010 15:52:08 +0300 Subject: [PATCH] ControlScripts/clients/hrk: remove grepping for "SLEEP" when parsing for peer-connection upload/download speed files --- ControlScripts/clients/hrk/parse_hrk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ControlScripts/clients/hrk/parse_hrk.sh b/ControlScripts/clients/hrk/parse_hrk.sh index cc24388..6d19a9f 100755 --- a/ControlScripts/clients/hrk/parse_hrk.sh +++ b/ControlScripts/clients/hrk/parse_hrk.sh @@ -90,7 +90,7 @@ local_ip=$(hostname_to_ip ${LOG_FILE/%.log/}) # Parse the peer log file; output peer download and upload files -grep '^--Peers\|SLEEP' $LOG_FOLDER/$LOG_FILE | awk -v ip=${local_ip} -F '[],() []+' ' +grep '^--Peers' $LOG_FOLDER/$LOG_FILE | awk -v ip=${local_ip} -F '[],() []+' ' { printf "[%s %s %s]", $2, $3, $4; i = 6; -- 2.20.1