1. 程式人生 > >Apache壓力測試工具 ab.exe

Apache壓力測試工具 ab.exe

G:\program files\Apache Software Foundation\Apache2.2\bin>ab.exe -n 100 -c  10 http://www.163.com/
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 www.163.com (be patient).....done

#展示了web伺服器的資訊,可見網易採用的是nginx伺服器,域名是www.163.com,埠話是80
Server Software:        nginx
Server Hostname:        www.163.com
Server Port:            80

#這段是關於請求的文件的相關資訊,所在位置“/”,文件的大小為338436 bytes(此為http響應的正文長度)
Document Path:          /
Document Length:        338436 bytes

#請求併發數為10
Concurrency Level:      10