Changes between Version 7 and Version 8 of Tutorials/oMF/tut2


Ignore:
Timestamp:
Oct 15, 2014, 7:10:26 PM (10 years ago)
Author:
parishad
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/oMF/tut2

    v7 v8  
    273273==== Visualizing the Performance Data ====
    274274
    275 '''Method 1:''' OMF framework supports a result service that allows experimenters to query data stored using the OML measurement framework. The query is performed over the web and requires the you know the hostname and port where the result service runs, and the ''experiment ID'' associated with this experiment - this is obtained from the output following the execution of the control script.
    276 
    277 The result service supports either dumping of the entire database or a SQL-like querying option to selectively retrieve required measurement data. The below HTTP request shows an example query to retrieve certain fields of our above defined measurement point in the mfperf application:
    278 
    279 {{{
    280 #!sh
    281 wget "http://<hostname>:<port>/result/queryDatabase?expID=testing_slice-2010-09-03t09.41.43+10.00&format=csv&query=select ts,msg_no,msg_length from msg_out"  -O msg_out.csv
     275'''Method 1:''' OMF framework supports a result service that allows experimenters to query data stored using the OML measurement framework. The query is performed over the web and requires that you know the hostname and port where the result service runs, and the ''experiment ID'' associated with this experiment - this is obtained from the output following the execution of the control script. It should look something like this :
     276{{{
     277#!sh
     278Experiment ID: default_slice-2014-10-15t02.12.19.869-04.00
     279}}}
     280
     281The result service supports either dumping of the entire database or a SQL-like querying option to selectively retrieve required measurement data. The below HTTP request shows an example query to retrieve the reported statistics from the OML enabled monitor for MobilityFirst Routers:
     282
     283{{{
     284#!sh
     285wget "http://<hostname>:<port>/result/dumpDatabase?expID=testing_slice-2010-09-03t09.41.43+10.00"  -O msg_out.csv
     286}}}
     287Which in our case the hostname is "oml.orbit-lab.org" and the port number is "5054". So the command will look like :
     288{{{
     289#!sh
     290wget "http://oml.orbit-lab.org:5054/result/dumpDatabase?expID=default_slice-2014-10-15t00.36.59.743-04.00"  -O msg_out.csv
    282291}}}
    283292