On this page you find all important commands for the CLI tool ab. If the
command you are looking for is missing please ask our AI.
ab
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.
List of commands for ab:
-
ab:tldr:09676 ab: Execute 100 HTTP GET requests, in concurrent batches of 10, to a URL.$ ab -n ${100} -c ${10} ${url}try on your machineexplain this command
-
ab:tldr:4cb65 ab: Execute 100 HTTP POST requests to a URL, using a JSON payload from a file.$ ab -n ${100} -T ${application-json} -p ${filename-json} ${url}try on your machineexplain this command
-
ab:tldr:8b04a ab: Execute 100 HTTP GET requests to a given URL.$ ab -n ${100} ${url}try on your machineexplain this command
-
ab:tldr:e922d ab: Set the maximum number of seconds to spend for benchmarking.$ ab -t ${60} ${url}try on your machineexplain this command
-
ab:tldr:fb5bf ab: Use HTTP [K]eep Alive, i.e. perform multiple requests within one HTTP session.$ ab -k ${url}try on your machineexplain this command