Jperf fix
>To: dast --at-- nlanr.net
>From: Karol Hennessy <rev_karol --at-- yahoo.ie>
>Subject: Jperf fix
>Date: Thu, 26 Feb 2004 13:15:50 +0000
>
>Hey, the bandwidth graph popup is currently producing a bad graph for
>times > 10sec
>
>This is a result of only 11 data values being used, 0 - 9 and the last
>value. so typically the graph looks right for the first 10sec and then
>usually has a constant gradient for whatever amount of time after that.
>
>The problem in the code is a bad regex string.
>
>The problem is on line 90 in IperfThread.java
>
> if(line.matches("\\[[ \\d]+\\] [\\d]+.*")) {
>
>should read
>
> if(line.matches("\\[[ \\d]+\\] +[\\d]+.*")) {
>
>(notice - the double space' ' in the middle has been replaced by ' +'
>, space plus)
>
>Otherwise the tool works great, thanks,
>
>Karol.
>
>
--
Mitch Kutzko | mitch --at-- dast.nlanr.net | mitch --at-- ncsa.uiuc.edu | 217-333-1199
http://hobbes.ncsa.uiuc.edu/