Changes between Version 24 and Version 25 of GEMINI/Tutorial/GEC20/GENI_Desktop_and_GEMINI_data/RetrieveData


Ignore:
Timestamp:
06/21/14 00:34:33 (10 years ago)
Author:
mkeele@indiana.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEMINI/Tutorial/GEC20/GENI_Desktop_and_GEMINI_data/RetrieveData

    v24 v25  
    151151Once some measurements have been posted and executed by BLiPP, metadata will be generated. Every measurement object has a list of event types associated with it and you will use this event type of find the data you desire. For example, if you were to schedule a throughput test you could expect an event type for bandwidth. BLiPP executes a few measurement probes directly after Instrumentation, such as cpu, mem, and net.
    152152
    153 Now, lets step through the process of gathering memory usage data.
     153Now, lets step through the process of gathering cpu usage data.
    154154
    1551552. http://pcvm2-4.instageni.illinois.edu:42424/api/metadata
    156156  * list of all metadata
    157157
    158 Search for "memory" and you will see every event types such as: [[BR]]
     158Search for "cpu" and you will see every event types such as: [[BR]]
    159159{{{
    160 "ps:tools:blipp:linux:memory:utilization:free"
    161 "ps:tools:blipp:linux:memory:utilization:kernel"
    162 "ps:tools:blipp:linux:memory:utilization:used"
     160"ps:tools:blipp:linux:cpu:utilization:iowait"
     161"ps:tools:blipp:linux:cpu:utilization:hwirq"
     162"ps:tools:blipp:linux:cpu:load:fivemin"
    163163}}}
    164164
    165 For the memory used event type copy the value for the id key and add that value to your route
     165For the cpu used event type copy the value for the id key and add that value to your route
    166166
    167 3. http://pcvm2-4.instageni.illinois.edu:42424/api/metadata/53a486ad377f972d2e1b8e7b
    168   * single metadata object for memory used
     1673. http://pcvm2-4.instageni.illinois.edu:42424/api/metadata/53a486a7377f972d2e1b8e73
     168  * single metadata object for load min load
    169169
    170170[[Image()]]
     
    172172Replace metadata with data in the URL to get the data associated with the metadata event type
    173173
    174 4. http://pcvm2-4.instageni.illinois.edu:42424/api/data/53a486ad377f972d2e1b8e7b
    175   * actual memory used data
     1744. http://pcvm2-4.instageni.illinois.edu:42424/api/data/53a486a7377f972d2e1b8e73
     175  * actual cpu load data
    176176
    177177[[Image()]]
     
    181181Once you have your data you might like to visualize it to help make discoveries from the data. At this repository, [https://github.com/GENI-GEMINI/UW/blob/master/msplot_python/ms_plot.py] we provide a script to help you with data visualization.
    182182
    183 ...install python dependencies
     1835. http://pcvm2-4.instageni.illinois.edu:42424/metadata/53a486a7377f972d2e1b8e73
     184  * simple graph of data
     185
     186[[Image(graph.png)]]
    184187
    185188[[BR]]