ab -c 30 -t 60 http://www.xxx.com:80/index.php
以上為自已 mini server 測試1分鐘內 30個人同時連線.[2015/04/14/pm:16:50測試]

第1次測試 1分鐘內 30個人同時連線.[標準解說如下:]
Server Software: Apache/2.2.8
Server Hostname: www.XXX.com
Server Port: 80
Document Path: /index.php
Document Length: 28729 bytes
Concurrency Level: 30 #表示同時間 30個連線
Time taken for tests: 60.325 seconds #跑了60秒
Complete requests: 1038 #完成了 1038 連線請求
Failed requests: 0
Write errors: 0
Total transferred: 29974588 bytes
HTML transferred: 29832245 bytes
Requests per second: 17.21 [#/sec] (mean) #表示在30個人同時連線的情況下,還可以保持每秒17個request。
Time per request: 1743.497 [ms] (mean) #平均每個人瀏覽首頁約1.7秒
Time per request: 58.117 [ms] (mean, across all concurrent requests)
Transfer rate: 485.24 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 2 2.5 1 67
Processing: 1023 1701 812.0 1452 9868
Waiting: 1018 1696 812.0 1446 9863
Total: 1024 1703 812.0 1455 9869
Percentage of the requests served within a certain time (ms)
50% 1455
66% 1595
75% 1719
80% 1866
90% 2222 # 30*90%=27 人 感覺瀏覽網站在2.2秒內
95% 3945
98% 4664
99% 4953
100% 9869 (longest request)
Server Hostname: www.XXX.com
Server Port: 80
Document Path: /index.php
Document Length: 28729 bytes
Concurrency Level: 30 #表示同時間 30個連線
Time taken for tests: 60.325 seconds #跑了60秒
Complete requests: 1038 #完成了 1038 連線請求
Failed requests: 0
Write errors: 0
Total transferred: 29974588 bytes
HTML transferred: 29832245 bytes
Requests per second: 17.21 [#/sec] (mean) #表示在30個人同時連線的情況下,還可以保持每秒17個request。
Time per request: 1743.497 [ms] (mean) #平均每個人瀏覽首頁約1.7秒
Time per request: 58.117 [ms] (mean, across all concurrent requests)
Transfer rate: 485.24 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 2 2.5 1 67
Processing: 1023 1701 812.0 1452 9868
Waiting: 1018 1696 812.0 1446 9863
Total: 1024 1703 812.0 1455 9869
Percentage of the requests served within a certain time (ms)
50% 1455
66% 1595
75% 1719
80% 1866
90% 2222 # 30*90%=27 人 感覺瀏覽網站在2.2秒內
95% 3945
98% 4664
99% 4953
100% 9869 (longest request)