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

Disclaimer
  1. License under CC BY-NC 4.0
  2. Copyright issue feedback: dig +short txt issue.imzye.com
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Buy Me a Coffee