ab - Apache HTTP Server Benchmarking Tool

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. (from ab 2.0 documentation)

Documentation of ab utility:

-- Contributors: MartinCleaver, PeterThoeny

Discussions

Being somewhat of a Newbie, I did an extensive search for ab, ApacheBench, the Apache Benchmark program until I discovered that it was already on my RedHat 7.2 system. (/usr/sbin/ab - this is not in the path for normal users).

There is also a Windows version of the program available at: http://www.remotecommunications.com/apache/ab/

-- BjornGraabek - 07 Dec 2001

Find attached a quick guide to perform a benchmark from your machine against a apache web server.

Most useful arguments are:

  • -c -- number of concurrent clients
  • -n -- number of total requests
  • -C -- a cookie string
  • -A -- Authen info eg 'user:password'

Example:

/usr/local/apache/bin/ab -c 8 -n 100 -A 'guest:mypassword' -C "User=id&1234; Pref=lang&de" "www.myhost.com/twiki/bin/view/Main/WebHome"

-- WolfgangAlper - 24 Feb 2005

Edit | Attach | (削除) Watch (削除ここまで) | Print version | History : r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006年03月24日 - PeterThoeny
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

AltStyle によって変換されたページ (->オリジナル) /