MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: Dipak Bhoi on December 21, 2014, 02:59:30 PM

Title: How to check Apache ab for benchmarking is installed or not?
Post by: Dipak Bhoi on December 21, 2014, 02:59:30 PM
Hello Guys,

The Apache ab (apache benchmark) tool typically comes default with RHEL and CentOS systems. It can be used for benchmarking differences in a website (such as before and after optimizing a page) or changing PHP handlers.

You can check if it is install or not by running following command.

Quote#whereis ab

You will get the below output if it is installed on your server.

Quote# whereis ab
ab: /usr/bin/ab /usr/share/man/man1/ab.1.gz

If it is not then you have to remove httpd* from /etc/yum.conf exclude line and run following command to install it.

Quote#yum install httpd-tools

That's all, enjoy !!