cs:ab
Return to Home page
If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at] skenz.it
You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url: https://www.skenz.it/cs/ab?rev=1551188038&do=diff
Differences
This shows you the differences between two versions of the page.
— | cs:ab [2024/04/08 22:35] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== ab (linux command) ====== | ||
+ | **ab** - Apache HTTP server benchmarking tool is a linux shell software useful to perform a performance benchmark of a webpage of a website. | ||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get install apache2-utils | ||
+ | </ | ||
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | The following command says that the //ab// command will execute 1000 times 10 concurrent access to the webpage with address http:// | ||
+ | |||
+ | <code bash> | ||
+ | ab -n 1000 -c 10 -g test.dat " | ||
+ | </ | ||
+ | |||
+ | the output of this command is: | ||
+ | < | ||
+ | This is ApacheBench, | ||
+ | Copyright 1996 Adam Twiss, Zeus Technology Ltd, http:// | ||
+ | Licensed to The Apache Software Foundation, http:// | ||
+ | |||
+ | Benchmarking wiki.altervista.org (be patient) | ||
+ | Completed 100 requests | ||
+ | Completed 200 requests | ||
+ | Completed 300 requests | ||
+ | Completed 400 requests | ||
+ | Completed 500 requests | ||
+ | Completed 600 requests | ||
+ | Completed 700 requests | ||
+ | Completed 800 requests | ||
+ | Completed 900 requests | ||
+ | Completed 1000 requests | ||
+ | Finished 1000 requests | ||
+ | |||
+ | |||
+ | Server Software: | ||
+ | Server Hostname: | ||
+ | Server Port: 80 | ||
+ | |||
+ | Document Path: /cs/ab | ||
+ | Document Length: | ||
+ | |||
+ | Concurrency Level: | ||
+ | Time taken for tests: | ||
+ | Complete requests: | ||
+ | Failed requests: | ||
+ | Write errors: | ||
+ | Total transferred: | ||
+ | HTML transferred: | ||
+ | Requests per second: | ||
+ | Time per request: | ||
+ | Time per request: | ||
+ | Transfer rate: 491.44 [Kbytes/ | ||
+ | |||
+ | Connection Times (ms) | ||
+ | min mean[+/-sd] median | ||
+ | Connect: | ||
+ | Processing: | ||
+ | Waiting: | ||
+ | Total: | ||
+ | |||
+ | Percentage of the requests served within a certain time (ms) | ||
+ | 50% 164 | ||
+ | 66% 220 | ||
+ | 75% 251 | ||
+ | 80% 267 | ||
+ | 90% 304 | ||
+ | 95% 334 | ||
+ | 98% 372 | ||
+ | 99% 402 | ||
+ | | ||
+ | </ | ||
If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at] skenz.it
You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url: https://www.skenz.it/cs/ab?rev=1551188038&do=diff