Changes between Version 85 and Version 86 of GIMIv1.0Tutorial


Ignore:
Timestamp:
07/01/12 22:27:10 (7 years ago)
Author:
dilip.manu@gmail.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIMIv1.0Tutorial

    v85 v86  
    297297
    298298    * Please open the firefox browser and type "127.0.0.1/oml.html" to view the visualization!!
    299 
     299    * The visualization script contains a "R" script to generate pdf/jpg based on the sqlite3 measurement database file generated by the OMLified application. The script is provided below.
     300
     301{{{
     302library(RSQLite)
     303con <- dbConnect(dbDriver("SQLite"), dbname = "gec14-test6.sq3")
     304dbListTables(con)
     305dbReadTable(con,"iperf_transfer")
     306mydata <- dbGetQuery(con, "select begin_interval,size,end_interval from iperf_transfer")
     307intervals <- mydata$end_interval - mydata$begin_interval
     308throughput <- mydata$size/intervals/1024/1024*8
     309pdf("gec14-test6.pdf")
     310plot(throughput,type="o",col="red",xlab="Experiment Interval",ylab="Throughput (Mbps)")
     311title(main="Iperf_Experiment", col.main="blue", font.main=4)
     312dev.off()
     313}}}
    300314
    301315== Part 2: iRODS - GIMI's Measurement Repository ==