国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 操作系統(tǒng) > 正文

Apacheab命令

2024-06-28 14:32:32
字體:
供稿:網(wǎng)友

一、簡介

ab是apache自帶的壓力測(cè)試工具。ab非常實(shí)用,它不僅可以對(duì)apache服務(wù)器進(jìn)行網(wǎng)站訪問壓力測(cè)試,也可以對(duì)或其它類型的服務(wù)器進(jìn)行壓力測(cè)試。比如nginx、tomcat、IIS等。

 

二、語法

Usage: ab [options] [http[s]://]hostname[:port]/pathOptions are:    -n requests     Number of requests to perform        -c concurrency  Number of multiple requests to make        -t timelimit    Seconds to max. wait for responses        -b windowsize   Size of TCP send/receive buffer, in bytes    #     -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 for POSTing, 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.    -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)    -Z ciphersuite  Specify SSL/TLS cipher suite (See openssl ciphers)    -f protocol     Specify SSL/TLS protocol (SSL2, SSL3, TLS1, or ALL)

 

三、實(shí)例

http://blog.chinaunix.net/uid-20382003-id-3032167.html

 

參考:http://www.CUoXIn.com/article/59469.htm

上一篇:vim基本操作

下一篇:DNS服務(wù)詳解

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 晋城| 喀喇| 武穴市| 浦县| 安国市| 曲水县| 浦县| 马公市| 克山县| 汕头市| 自贡市| 平江县| 岱山县| 德钦县| 巴林左旗| 石台县| 富蕴县| 寻乌县| 柘城县| 阜平县| 衡山县| 保靖县| 手游| 东安县| 兴化市| 工布江达县| 信阳市| 德清县| 桦甸市| 肥乡县| 望江县| 汉中市| 延寿县| 广丰县| 增城市| 永清县| 扶绥县| 竹溪县| 武威市| 临澧县| 岑溪市|