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

Mansoor Alicherry ma2397 at columbia.edu
Thu Jul 16 22:56:17 EDT 2009


 

 

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://orbit-lab.org/pipermail/orbit-user/attachments/20090716/075c4d48/attachment.htm>


More information about the orbit-user mailing list