ab
ab - Apache HTTP server benchmarking tool
- apt install apache2-utils
Sample usage
ab -n 10 -c 10 http://labs.bitarus.allowed.org/ This is ApacheBench, Version 2.3 <$Revision: 1528965 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking labs.bitarus.allowed.org (be patient).....done Server Software: Apache/2.4.7 Server Hostname: labs.bitarus.allowed.org Server Port: 80 Document Path: / Document Length: 861 bytes Concurrency Level: 10 Time taken for tests: 0.031 seconds Complete requests: 10 Failed requests: 0 Total transferred: 11620 bytes HTML transferred: 8610 bytes Requests per second: 319.15 [#/sec] (mean) Time per request: 31.333 [ms] (mean) Time per request: 3.133 [ms] (mean, across all concurrent requests) Transfer rate: 362.16 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 1 2 2.0 1 5 Processing: 5 16 6.6 19 25 Waiting: 5 16 6.6 19 25 Total: 6 18 8.0 20 30 Percentage of the requests served within a certain time (ms) 50% 20 66% 22 75% 25 80% 28 90% 30 95% 30 98% 30 99% 30 100% 30 (longest request)