Home > Fax, Malo mešano > Plot ab results with gnuplot

Plot ab results with gnuplot

Save to echo-gnu-plot.sh

CODE:
  1. echo "set terminal png"
  2. echo "set output \"$1.png\""
  3. echo "set xlabel \"Request\""
  4. echo "set ylabel \"ms\""
  5. echo "plot \"$1.txt\" using 10 with lines title \"Response time\""

Run ab
ab -g my-page.txt -n 1000 -c 100 http://mypage.net/

Run
sh echo-gnu-plot.sh my-page

Copy the output
Run

CODE:
  1. gnuplot

then paste from clip board
see the image my-page.png

ab gnuplot

ab and gnuplot

Categories: Fax, Malo mešano Tags:

0 pages viewed, 0 today
0 visits, 0 today
FireStats icon Powered by FireStats