Skip to content

Nginx benchmark tools (ab/webbench) Usage on CentOS 6.7

webbench

1 Install

wget http://home.tiscali.cz/~cz210552/distfiles/webbench-1.5.tar.gz
tar zxvf webbench-1.5.tar.gz
cd webbench-1.5
make && make install

2 Test

webbench -c 2000 -t 30 http://localhost/index.html
-c:concurrency
-t:time(s)

ab

1 Install

yum install httpd-tools

2 Test

ab -kc 1000 -n 10000 http://localhost/index.html
-c:concurrency
-n:requests number