Apache HTTP server benchmarking tool

20個連線,3次同時連線

ab -n 20 -c 3 http://tw.yahoo.com/

結果

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 1997-2005 The Apache Software Foundation, http://www.apache.org/

Benchmarking tw.yahoo.com (be patient)…..done

Server Software:
Server Hostname:        tw.yahoo.com
Server Port:            80

Document Path:          /

Document Length:        114864 bytes

Concurrency Level:      3
Time taken for tests:   3.600281 seconds
Complete requests:      20
Failed requests:        19
   (Connect: 0, Length: 19, Exceptions: 0)
Write errors:           0
Total transferred:      2306494 bytes
HTML transferred:       2299514 bytes
Requests per second:    5.56 [#/sec] (mean)
Time per request:       540.042 [ms] (mean)
Time per request:       180.014 [ms] (mean, across all concurrent requests)
Transfer rate:          625.51 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       23   32  12.0     26      66
Processing:   211  465 301.8    374    1622
Waiting:       32   63  27.5     63     153
Total:        247  498 307.5    403    1688

Percentage of the requests served within a certain time (ms)
  50%    403
  66%    443
  75%    544
  80%    584
  90%    771
  95%   1688
  98%   1688
  99%   1688
 100%   1688 (longest request)

Related posts 相關文章
apache httpd 2.4.58 有些安全性更新
More...
Apache 有 path traversal 目錄遍歷的漏洞
More...
CentOS7 透過 systemd 自動讓服務 restart 重啟
More...
用 GoAccess 即時分析 IIS Access Log
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。