ab 压力测试
来源:互联网 发布:mac ps厘米改成像素 编辑:程序博客网 时间:2024/05/16 18:05
</pre><pre name="code" class="plain">D:\wamp\Apache24\bin>ab -hUsage: ab [options] [http://]hostname[:port]/pathOptions are: -n requests Number of requests to perform -c concurrency Number of multiple requests to make at a time -t timelimit Seconds to max. to spend on benchmarking This implies -n 50000 -s timeout Seconds to max. wait for each response Default is 30 seconds -b windowsize Size of TCP send/receive buffer, in bytes -B address Address to bind to when making outgoing connections -p postfile File containing data to POST. Remember also to set -T -u putfile File containing data to PUT. Remember also to set -T -T content-type Content-type header to use for POST/PUT data, eg. 'application/x-www-form-urlencoded' Default is 'text/plain' -v verbosity How much troubleshooting info to print -w Print out results in HTML tables -i Use HEAD instead of GET -x attributes String to insert as table attributes -y attributes String to insert as tr attributes -z attributes String to insert as td or th attributes -C attribute Add cookie, eg. 'Apache=1234'. (repeatable) -H attribute Add Arbitrary header line, eg. 'Accept-Encoding: gzip' Inserted after all normal header lines. (repeatable) -A attribute Add Basic WWW Authentication, the attributes are a colon separated username and password. -P attribute Add Basic Proxy Authentication, the attributes are a colon separated username and password. -X proxy:port Proxyserver and port number to use -V Print version number and exit -k Use HTTP KeepAlive feature -d Do not show percentiles served table. -S Do not show confidence estimators and warnings. -q Do not show progress when doing more than 150 requests -l Accept variable document length (use this for dynamic pages) -g filename Output collected data to gnuplot format file. -e filename Output CSV file with percentages served -r Don't exit on socket receive errors. -h Display usage information (this message)D:\wamp\Apache24\bin>ab -n100 -c10 http://www.baidu.com/This is ApacheBench, Version 2.3 <$Revision: 1554214 $>Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.neLicensed to The Apache Software Foundation, http://www.apache.org/Benchmarking www.baidu.com (be patient)...Server Software: BWS/1.1Server Hostname: www.baidu.comServer Port: 80Document Path: /Document Length: 81437 bytesConcurrency Level: 10Time taken for tests: 34.992 secondsComplete requests: 89Failed requests: 68 (Connect: 0, Receive: 0, Length: 68, Exceptions: 0)Total transferred: 7875119 bytesHTML transferred: 7790014 bytesRequests per second: 2.54 [#/sec] (mean)Time per request: 3931.696 [ms] (mean)Time per request: 393.170 [ms] (mean, across all concurrent requTransfer rate: 219.78 [Kbytes/sec] receivedConnection Times (ms) min mean[+/-sd] median maxConnect: 0 10 10.4 16 47Processing: 78 1227 1439.2 703 7397Waiting: 0 40 52.7 16 219Total: 78 1236 1439.5 711 7397Percentage of the requests served within a certain time (ms) 50% 703 66% 859 75% 1609 80% 1766 90% 3391 95% 3771 98% 6756 99% 7397 100% 7397 (longest request)
0 0
- apache ab压力测试
- apache ab压力测试
- apache ab压力测试
- apache ab压力测试
- apache ab压力测试
- apache ab压力测试
- apache ab 压力测试
- apache ab压力测试
- ab 压力测试
- apache ab压力测试 .
- apache ab压力测试
- ab网站压力测试
- ab 压力测试
- apache ab压力测试
- 压力测试工具ab
- AB压力测试应用
- ab 网站压力测试
- ab压力测试介绍
- 好的技术博客、应用总结
- jsp包含html乱码
- QtQuick实现文本编辑和显示文本行号-改进版
- error loading /system/media/audio/ui/Effect_Tick.ogg
- 大话设计模式
- ab 压力测试
- google store 离线下载crx的方法
- 看了此文还不懂傅里叶变换,你来掐死我吧
- 笔试题_Qunar2015一面
- 深搜-连通分量
- 第九周项目5-(1)
- aauto华容道开发
- Android消息机制
- IT编年史