[root@memblaze-lyk1 html]# ps -ef |grep nginx
root 19529 1 0 16:47 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx
nobody 19530 19529 0 16:47 ? 00:00:33 nginx: worker process
root 22401 5912 0 17:56 pts/3 00:00:00 grep --color=auto nginx
[root@memblaze-lyk1 html]#
[root@memblaze-lyk3 ~]# ab -kc 1000 -n 10000 -p /tmp/1mfile -T 'application/x-www-form-urlencoded' http://40.0.0.1/index.html
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 40.0.0.1 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests
Server Software: nginx/1.9.4
Server Hostname: 40.0.0.1
Server Port: 80
Document Path: /index.html
Document Length: 172 bytes
Concurrency Level: 1000
Time taken for tests: 11.962 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Non-2xx responses: 10000
Keep-Alive requests: 10000
Total transferred: 3280000 bytes
Total body sent: 10487610000
HTML transferred: 1720000 bytes
Requests per second: 835.96 [#/sec] (mean)
Time per request: 1196.224 [ms] (mean)
Time per request: 1.196 [ms] (mean, across all concurrent requests)
Transfer rate: 267.77 [Kbytes/sec] received
856178.14 kb/s sent
856445.91 kb/s total
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 83 295.6 0 2349
Processing: 3 1112 225.6 1136 2345
Waiting: 2 1111 225.5 1135 2343
Total: 3 1196 419.7 1136 3947
Percentage of the requests served within a certain time (ms)
50% 1136
66% 1154
75% 1163
80% 1173
90% 1586
95% 2178
98% 2561
99% 2677
100% 3947 (longest request)