Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What package includes AB the Apache Server Benchmarking Tool in Ubuntu [closed]

I'm trying to find ab - Apache HTTP server benchmarking tool for Ubuntu, I'm hoping there's a package I can install for it. I decided I need to do some simple load testing on my applications.

like image 878
reconbot Avatar asked Sep 15 '08 20:09

reconbot


People also ask

Is Apache already installed on Ubuntu?

Apache is available within Ubuntu's default software repositories, making it possible to install it using conventional package management tools.

How do I use Apache benchmark tool?

Apache Bench (ab) is a load testing and benchmarking tool for Hypertext Transfer Protocol (HTTP) server. It can be run from command line and it is very simple to use. A quick load testing output can be obtained in just one minute.

What is AB Command Linux?

ab is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server. It is designed to give you an impression of how your current Apache installation performs. This especially shows you how many requests per second your Apache installation is capable of serving. Synopsis.


1 Answers

% sudo apt-get install apache2-utils

The command-not-found package in Ubuntu provides some slick functionality where if you type a command that can't be resolved to an executable (or bash function or whatever) it will query your apt sources and find a package that contains the binary you tried to execute. So, in this case, I typed ab at the command prompt:

  % ab The program 'ab' is currently not installed.  You can install it by typing: sudo apt-get install apache2-utils bash: ab: command not found  
like image 80
Brian Phillips Avatar answered Oct 01 '22 17:10

Brian Phillips