Changes between Version 23 and Version 24 of OnTimeMeasureTutorial


Ignore:
Timestamp:
02/16/12 15:22:00 (7 years ago)
Author:
yxu@osc.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OnTimeMeasureTutorial

    v23 v24  
    787787connect pc355.emulab.net:61601
    788788shell "sed -i 's/nodes:/nodes:\n- name: node3\n  IP: 155.98.38.113\n\n/g'   config.yaml"
     789shell "echo '- source: node3' >> measurement.yaml"
     790shell "echo '  metric: [MemFree]' >> measurement.yaml"
    789791shell "python task_manage.py -c measurement.yaml"
    790792}}}
     
    813815node2
    814816node2
    815 10 new tasks added
     817node3
     818node3
     81911 new tasks added
    816820You have to restart the measurement service to put them into effort
    817821}}}
     
    851855
    852856You can access the query result in a web-browser or on the local file system of the Root Beacon.
     857
     858
     859If you want to query the new added measurement task (i.e., MemFree in Node 3), you need wait about 5 minutes and invoke the following Gush command:
     860shell "python query.py -f '2012-01-30 18:00:00' -t '2012-02-09 20:00:00' -s node3 -d node3 -m MemFree -r TimeSeries"
     861}}}
     862
     863'''Note:''' You can also access Root Beacon through port 17280 in your web-browser (i.e., http://pc355.emulab.net:17280/) to check the new measurement data generated already in measurement dashboard.
     864
     865The output
     866{{{
     867gush> shell "python query.py -f '2012-01-30 18:00:00' -t '2012-02-09 20:00:00' -s node3 -d node3 -m MemFree -r TimeSeries"
     868gush> xyx@root.otc2.emulab-net.emulab.net:61600,31595: http://155.98.39.36:17290/20120216201621_MemFree.txt
     869Downloaded to local folder: /opt/OnTimeMeasure/OnTimeControl/results/20120216201621_MemFree.txt
     870
     871
     872http://155.98.39.36:17280/render?height=300&width=500&from=18%3A00%2001/30/2012&until=20%3A00%2003/09/2012&target=Graphite.node3_node3.MemFree
     873Downloaded to local folder: /opt/OnTimeMeasure/OnTimeControl/results/20120216201621_MemFree.png
     874
     875}}}
    853876
    854877