[orbit-user] FW: How to use addMeasurement?

Max Ott max at winlab.rutgers.edu
Sun Jul 26 20:29:36 EDT 2009


Hi Mansoor,

Did we ever get back to you on that? If not, let me know. I'm in the  
middle of cleaning this up.

-max

On 17/07/2009, at 12:56 PM, Mansoor Alicherry wrote:

>
>
> Hi,
>    I am trying to use iperf to get the throughput in an experiment.  
> test/app/iperfr.rb contains the following lines
>
> a.addMeasurement("receiverport", nil, [
>   ['flow_no','int'],
>   ['throughput',Float],
>   ['jitter',Float],
>   ['packet_loss',Float]
>  ])
>
> I could not find any document on how to use addMeasurement API from  
> a ruby script. Main issue here is that iperf gives the results in  
> stdout. How do I put the results onto the DB, after parsing the  
> stdout?
>
> While running the iperf scripts (after modifying to nodehandler4.4  
> APIs), I am getting the following error
>
> WARN exp: 'addMeasurement' is depreciated! Use 'addMeasurement'  
> instead
> WARN exp: 'addMeasurement' is depreciated! Use 'addMeasurement'  
> instead
>
> Regards
> Mansoor
> _______________________________________________
> orbit-user mailing list
> orbit-user at orbit-lab.org
> http://orbit-lab.org/cgi-bin/mailman/listinfo/orbit-user



More information about the orbit-user mailing list