Ab / ApacheBench is a tool commonly used to perform benchmark by many people. unfortunately, the results are displayed somewhat difficult to read by most people. but it can be tricked by turning it into a plot image. this time, I will make examples how to change the results of apachebench into a form of image plots using gnuplot. although apachebench’s report is very helpful, we need to output the data in a parse-able format. To do this we use the -g switch which will output a gnuplot-friendly tab delimited table of data.
First we need to installed gnuplot if we don’t have it yet.
Creates an empty image file. Is this missing a command from the template?
was your ab command resulting any data?
Yes, data produced, it looks like this:
starttime seconds ctime dtime ttime wait
Thu Jun 26 16:22:12 2014 1403796132 0 9 9 9
and so on