Changes between Version 24 and Version 25 of GEMINI/Tutorial/GEC20/GENI_Desktop_and_GEMINI_data/RetrieveData
- Timestamp:
- 06/21/14 00:34:33 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GEMINI/Tutorial/GEC20/GENI_Desktop_and_GEMINI_data/RetrieveData
v24 v25 151 151 Once 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. 152 152 153 Now, lets step through the process of gathering memoryusage data.153 Now, lets step through the process of gathering cpu usage data. 154 154 155 155 2. http://pcvm2-4.instageni.illinois.edu:42424/api/metadata 156 156 * list of all metadata 157 157 158 Search for " memory" and you will see every event types such as: [[BR]]158 Search for "cpu" and you will see every event types such as: [[BR]] 159 159 {{{ 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" 163 163 }}} 164 164 165 For the memoryused event type copy the value for the id key and add that value to your route165 For the cpu used event type copy the value for the id key and add that value to your route 166 166 167 3. http://pcvm2-4.instageni.illinois.edu:42424/api/metadata/53a486a d377f972d2e1b8e7b168 * single metadata object for memory used167 3. http://pcvm2-4.instageni.illinois.edu:42424/api/metadata/53a486a7377f972d2e1b8e73 168 * single metadata object for load min load 169 169 170 170 [[Image()]] … … 172 172 Replace metadata with data in the URL to get the data associated with the metadata event type 173 173 174 4. http://pcvm2-4.instageni.illinois.edu:42424/api/data/53a486a d377f972d2e1b8e7b175 * actual memory used data174 4. http://pcvm2-4.instageni.illinois.edu:42424/api/data/53a486a7377f972d2e1b8e73 175 * actual cpu load data 176 176 177 177 [[Image()]] … … 181 181 Once 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. 182 182 183 ...install python dependencies 183 5. http://pcvm2-4.instageni.illinois.edu:42424/metadata/53a486a7377f972d2e1b8e73 184 * simple graph of data 185 186 [[Image(graph.png)]] 184 187 185 188 [[BR]]