Linux??????????ab
???????????? ???????[ 2013/11/11 10:20:18 ] ????????
	??????Apache????????????У?????????? ab (ApacheBench) ??????
	????ApacheBench ?????????????Apache?????????Ч?????
	????ApacheBench ??????????????? URL ???????????????????
	????????????????????????????????????????????? ApacheBench ???????????????????????????????????????????÷??????????????????????????趨???????????
	???????????
	01bixiaopeng@172-13-3-157 ~$ ab -h
	02Usage: ab [options] [http[s]://]hostname[:port]/path
	03Options are:
	04//-n ????????????е????????????????????????????
	05   -n requests     Number of requests to perform
	06//-c ??β???????????????????????????
	07   -c concurrency  Number of multiple requests to make
	08//-t ?????????е????????????????????-n 50000??????????????????????????????????????????????????????????????
	09   -t timelimit    Seconds to max. wait for responses
	10
	11   -b windowsize   Size of TCP send/receive buffer?? in bytes
	12//-p ?????????POST??????????.
	13   -p postfile     File containing data to POST. Remember also to set -T
	14
	15   -u putfile      File containing data to PUT. Remember also to set -T
	16//-T POST??????????Content-type??????
	17   -T content-type Content-type header for POSTing?? eg.
	18                   'application/x-www-form-urlencoded'
	19                   Default is 'text/plain'
	20//-v ?????????????????? - 4????????????????? 3????????????????????(404?? 200??)?? 2??????????????????????????? -V ????汾????????
	21   -v verbosity    How much troubleshooting info to print
	22//-w ??HTML??????????????????????????????????п????????
	23   -w              Print out results in HTML tables
	24//-i ???HEAD??????????GET??
	25   -i              Use HEAD instead of GET
	26   -x attributes   String to insert as table attributes
	27   -y attributes   String to insert as tr attributes
	28   -z attributes   String to insert as td or th attributes
	29//-C cookie-name=value ???????????Cookie:?С? ??????????name=value??????????????????????????
	30   -C attribute    Add cookie?? eg. 'Apache=1234. (repeatable)
	31   -H attribute    Add Arbitrary header line?? eg. 'Accept-Encoding: gzip'
	32                   Inserted after all normal header lines. (repeatable)
	33   -A attribute    Add Basic WWW Authentication?? the attributes
	34                   are a colon separated username and password.
	35//-P proxy-auth-username:password ??????????????BASIC??????Ρ?????????????????:?????????base64???????????????????????????(???? ???????401??????????)??????????????????
	36   -P attribute    Add Basic Proxy Authentication?? the attributes
	37                   are a colon separated username and password.
	38   -X proxy:port   Proxyserver and port number to use
	39   -V              Print version number and exit
	40   -k              Use HTTP KeepAlive feature
	41   -d              Do not show percentiles served table.
	42   -S              Do not show confidence estimators and warnings.
	43   -g filename     Output collected data to gnuplot format file.
	44   -e filename     Output CSV file with percentages served
	45   -r              Don't exit on socket receive errors.
	46   -h              Display usage information (this message)
	47   -Z ciphersuite  Specify SSL/TLS cipher suite (See openssl ciphers)
	48   -f protocol     Specify SSL/TLS protocol (SSL2?? SSL3?? TLS1?? or ALL)
	49
	50//-attributes ???? ??????????. ?????????и????????????????????????????????????в??????????????????????????????????????????????в?????????????????????? HTTP/1.x; ???????Щ'???'?????????? strstr(3)??????????????????????????? ????????????ab??????????????????
??????
					
					???·???
App??С????H5?????????????????Щ??
2024/9/11 15:34:34?????????????????????????
2024/9/10 11:13:49P-One ???????????????????????????????????????
2024/9/10 10:14:12???????????????????????????
2024/9/9 18:04:26??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44
					
			
								
								
								
								
								
								
								
								
								
								
				
sales@spasvo.com