Estresando a Apache

Cuando instalamos un apache en determinadas maquinas nos preguntamos cuanto aguantara , para eso existe la utilidad ab
Instalando ab
# apt-get install apache2-utils
Usando ab
En este caso realizaremos un benchmark de google.es
cesar@cesar-laptop:~$ ab -n 100 google.es/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking google.es (be patient).....done
Server Software: gws
Server Hostname: google.es
Server Port: 80
Document Path: /
Document Length: 218 bytes
Concurrency Level: 1
Time taken for tests: 24.610383 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Non-2xx responses: 100
Total transferred: 55700 bytes
HTML transferred: 21800 bytes
Requests per second: 4.06 [#/sec] (mean)
Time per request: 246.104 [ms] (mean)
Time per request: 246.104 [ms] (mean, across all concurrent requests)
Transfer rate: 2.19 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 100 104 1.8 104 113
Processing: 108 141 82.0 112 541
Waiting: 108 140 81.9 111 540
Total: 211 245 82.1 216 644
Percentage of the requests served within a certain time (ms)
50% 216
66% 218
75% 226
80% 236
90% 329
95% 457
98% 598
99% 644
100% 644 (longest request)
