ApacheBench=ab

aptitude install apache2-utils

Натравливать так:
ab -c 1 -n 10 http://site.ru/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking site.ru (be patient)…..done

Server Software: nginx/0.7.67
Server Hostname: site.ru
Server Port: 80

Document Path: /
Document Length: 56349 bytes

Concurrency Level: 1
Time taken for tests: 1.569 seconds
Complete requests: 10
Failed requests: 5
(Connect: 0, Receive: 0, Length: 5, Exceptions: 0)
Write errors: 0
Total transferred: 567473 bytes
HTML transferred: 563493 bytes
Requests per second: 6.37 [#/sec] (mean)
Time per request: 156.945 [ms] (mean)
Time per request: 156.945 [ms] (mean, across all concurrent requests)
Transfer rate: 353.10 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 1 0.1 1 1
Processing: 135 156 37.5 143 258
Waiting: 61 76 37.6 65 182
Total: 136 157 37.5 143 259

Percentage of the requests served within a certain time (ms)
50% 143
66% 144
75% 151
80% 176
90% 259
95% 259
98% 259
99% 259
100% 259 (longest request)

Или

The following line uses keepalive for 50,000 connections, at a concurrency of 50 and a timeout of 20 seconds. Be sure to end root domains with a slash.

ab -k -n 50000 -c 53 -t 20 http://daf-uts.ru/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking daf-uts.ru (be patient)
Finished 2909 requests


Server Software:        nginx/1.2.1
Server Hostname:        daf-uts.ru
Server Port:            80

Document Path:          /
Document Length:        15834 bytes

Concurrency Level:      53
Time taken for tests:   20.004 seconds
Complete requests:      2909
Failed requests:        0
Write errors:           0
Keep-Alive requests:    0
Total transferred:      46645815 bytes
HTML transferred:       46061106 bytes
Requests per second:    145.42 [#/sec] (mean)
Time per request:       364.450 [ms] (mean)
Time per request:       6.876 [ms] (mean, across all concurrent requests)
Transfer rate:          2277.23 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    1   0.8      1      15
Processing:    21  361 381.7    252    2934
Waiting:       18  358 381.6    249    2932
Total:         22  362 381.7    253    2935

Percentage of the requests served within a certain time (ms)
  50%    253
  66%    301
  75%    335
  80%    394
  90%    519
  95%    614
  98%   1463
  99%   2808
 100%   2935 (longest request)

 

  1. Пока комментариев нет.

  1. Пока что обратных ссылок нет.