国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 延津县| 西和县| 杂多县| 武城县| 夏邑县| 永吉县| 容城县| 通江县| 上杭县| 延庆县| 和平县| 洪洞县| 沅江市| 丽水市| 蒲城县| 平原县| 平昌县| 普兰县| 平乡县| 南丰县| 来宾市| 广安市| 泸定县| 新兴县| 治县。| 巨野县| 壶关县| 海兴县| 万山特区| 大理市| 保靖县| 浑源县| 施秉县| 沂水县| 额济纳旗| 安龙县| 潜江市| 沧源| 油尖旺区| 昔阳县| 宜宾市|