Created
August 19, 2010 19:17
-
-
Save bds/538654 to your computer and use it in GitHub Desktop.
Plot verbose Siege output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Select response time, url id, and timestamp from verbose siege output | |
$ awk -F, '{ print $4","$7","$8 }' my_siege.log > ~/response.csv | |
# Load csv file into an R data.frame | |
> foo <- read.csv("~/response.csv", row.names=NULL, colClasses=c("numeric", "factor", "POSIXct"), col.names=c("response.time", "url.id", "timestamp")) | |
# Plot | |
> qplot(timestamp, response.time, data=foo, geom=c("point", "smooth")) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment