0535. [gnuplot] (apache ab) apache ab 데이타 gnuplot 이용 그래프 출력하기
apache stress testing 인 ab 를 이용하여 -g test.dat 파일의 내용을 가지고 그래프 출력하기
[root@linuxtest ~]# ab -n 100 -c 10 -g test.dat http://localhost/index.html
test.dat 파일을 window PC 로 가져온다
http://sourceforge.net/projects/gnuplot/files/
에서
Looking for the latest version? Download gp463-win32-setup.exe (10.5 MB)
를 다운받는다
gnuplot 실행후
gnuplot> plot "d:\asdf.dat" using 10 smooth sbezier with lines title "test :"
gnuplot> set title "Web Server Testusing Apache Bench"
gnuplot> set size 1,1
gnuplot> grid y
gnuplot> set xlabel "Request"
gnuplot> set ylabel "ResponseTime"
gnuplot> plot "d:\ginx.dat"using 10 smooth sbezier with lines title "nginx-1.4.1:","d:\apache.dat" using 10 smooth sbezier with lines title"apache-2.4.4:"
'IT' 카테고리의 다른 글
0537. [Perl] (SMTP) Net::SMTP perl 메일보내기 (0) | 2016.03.07 |
---|---|
0536. [Perl] (-w) /usr/bin/perl -w 와 /usr/bin/perl 의 차이 (0) | 2016.03.07 |
0534. [apache] (ab) apache stress testing 벤치마크 툴 ab (0) | 2016.03.07 |
0533. [apache] (apachectl) apache 버전 확인 (0) | 2016.03.07 |
0532. [Perl] (`` |) ` ` 와 | 파이프 이용하기 (0) | 2016.03.04 |