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
Disclaimer
- License under
CC BY-NC 4.0
- Copyright issue feedback
me#imzye.me
, replace # with @ - Not all the commands and scripts are tested in production environment, use at your own risk
- No privacy information is collected here