#ApacheBench-ab#
Stand alone apache bench - Apache HTTP server benchmarking tool
##Build Instructions##
Build:
$make
Clean:
$make clean
##Usage##
#####Simplest Usgae##### #ab -c 25 -n 100 http://www.apache.org/
The three options are:
* concurrency(-c 25)
* number of requests(-n 100)
* URL(http://www.apache.org)
#####Using with GnuPlot#####
#ab -c 25 -n 100 -r -g out.dat http://www.apache.org
Use the plot.p template coming with the source
#gnuplot plot.p
####SYNOPSIS#### ab [ -A auth-username:password ] [ -b windowsize ] [ -c concurrency ] [ -C cookie-name=value ] [ -d ] [ -e csv-file ] [ -f protocol ] [ -g gnu‐ plot-file ] [ -h ] [ -H custom-header ] [ -i ] [ -k ] [ -n requests ] [ -p POST-file ] [ -P proxy-auth-username:password ] [ -q ] [ -r ] [ -s ] [ -S ] [ -t timelimit ] [ -T content-type ] [ -u PUT-file ] [ -v ver‐ bosity] [ -V ] [ -w ] [ -x
-attributes ] [ -X proxy[:port] ] [ -y -attributes ] [ -z-attributes ] [ -Z ciphersuite ]
[http[s]://]hostname[:port]/path
####SUMMARY#### 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 serv‐ ing. ####OPTIONS#### -A auth-username:password Supply BASIC Authentication credentials to the server. The user‐ name and password are separated by a single : and sent on the wire base64 encoded. The string is sent regardless of whether the server needs it (i.e., has sent an 401 authentication needed).
####BUGS#### There are various statically declared buffers of fixed length. Combined with the lazy parsing of the command line arguments, the response head‐ ers from the server and other external inputs, this might bite you.
|