Skip to content

Instantly share code, notes, and snippets.

@bds
Created August 19, 2010 19:17
Show Gist options
  • Save bds/538654 to your computer and use it in GitHub Desktop.
Save bds/538654 to your computer and use it in GitHub Desktop.
Plot verbose Siege output
# 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