The topic of this article may not meet Wikipedia's notability guidelines for products and services. (November 2014) (Learn how and when to remove this template message)
This article needs additional citations for verification. (November 2014) (Learn how and when to remove this template message)
ApacheBench (ab) is a single-threaded command line computer program for measuring the performance of HTTP web servers. Originally designed to test the Apache HTTP Server, it is generic enough to test any web server.
ab -n 100 -c 10 "http://en.wikipedia.org/wiki/Main_Page"
Concurrency versus Threads
Note that ApacheBench will only use one operating system thread regardless of the concurrency level (specified by the -c parameter). In some cases, especially when benchmarking high-capacity servers, a single instance of ApacheBench can itself be a bottleneck. When using ApacheBench on hardware with multiple processor cores, additional instances of ApacheBench may be used in parallel to more fully saturate the target URL.
The ApacheBench User Agent string is the following: ApacheBench/MAJOR.MINOR
where MAJOR and MINOR represent the major and minor version numbers of the program. It is usually not correctly categorised by web server log analysers such as Webalizer or AWStats, so running ApacheBench with a great number of requests may skew the results of the reports generated by these programs.
|This Web-software-related article is a stub. You can help Wikipedia by expanding it.|