Aplikace 'ab' je soucasti každé instalace webserveru apache.
ab -n 100 -c 5 http://www.smejdil.cz/index.html
ab -n 1000 -c 5 http://www.smejdil.cz/index.html
ab -n 10000 -c 5 http://www.smejdil.cz/index.html
ab -n 100 -c 50 http://www.smejdil.cz/index.html
ab -n 1000 -c 50 http://www.smejdil.cz/index.html
ab -n 10000 -c 50 http://www.smejdil.cz/index.html
ab -n 100 -c 100 http://www.smejdil.cz/index.html
ab -n 1000 -c 100 http://www.smejdil.cz/index.html
ab -n 10000 -c 100 http://www.smejdil.cz/index.html
Vysledné hodnoty je vhodné někam poznamenat, popřípadě vykreslit do grafu a tím prezentovat výkonnost daného serveru.
ubuntu:~$ ab -n 1000 -c 50 http://www.smejdil.cz/index.html
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 www.smejdil.cz (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
Finished 1000 requests
Server Software: Apache/2.0.63
Server Hostname: www.smejdil.cz
Server Port: 80
Document Path: /index.html
Document Length: 2528 bytes
Concurrency Level: 50
Time taken for tests: 7.378989 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 2869092 bytes
HTML transferred: 2528000 bytes
Requests per second: 135.52 [#/sec] (mean)
Time per request: 368.949 [ms] (mean)
Time per request: 7.379 [ms] (mean, across all concurrent requests)
Transfer rate: 379.59 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 11 181 689.1 29 6043
Processing: 16 77 112.6 40 1031
Waiting: 15 67 100.2 36 1007
Total: 29 259 724.2 71 6092
Percentage of the requests served within a certain time (ms)
50% 71
66% 87
75% 122
80% 135
90% 339
95% 1064
98% 3287
99% 3359
100% 6092 (longest request)
Monitoring VMware vSphere with Zabbix
-
Zabbix is an open-source monitoring tool designed to oversee multiple IT
infrastructure components, including networks, servers, virtual machines,
and…
...
včera
Žádné komentáře:
Okomentovat