From: Razvan Deaconescu Date: Mon, 20 Sep 2010 16:20:43 +0000 (+0200) Subject: ControlScripts: fix hrk parse script X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=18b999ffe950b2de63ac7d7514e36e0263b19c8d;p=p2p-testing-infrastructure.git ControlScripts: fix hrk parse script --- diff --git a/ControlScripts/clients/hrk/parse_hrk.sh b/ControlScripts/clients/hrk/parse_hrk.sh index 6d19a9f..cd9d520 100755 --- a/ControlScripts/clients/hrk/parse_hrk.sh +++ b/ControlScripts/clients/hrk/parse_hrk.sh @@ -52,10 +52,10 @@ BEGIN { if ($1 == "SLEEP") rel_time = rel_time + $2; else { - dlspeed = $6 + 0; - upspeed = $8 + 0; - download = $10 + 0; - size = $14 + 0; + dlspeed = $4 + 0; + upspeed = $6 + 0; + download = $8 + 0; + size = $12 + 0; percent = 100.0 * download / size; printf "%d %.2f %.2f %.2f\n", rel_time, percent, upspeed, dlspeed;