Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ
îðèãèíàëüíîãî äîêóìåíòà
: http://www.arcetri.astro.it/manual/ko/programs/ab.html
Äàòà èçìåíåíèÿ: Mon Jan 21 19:44:30 2013 Äàòà èíäåêñèðîâàíèÿ: Fri Feb 28 05:33:48 2014 Êîäèðîâêà: ISO8859-5 Ïîèñêîâûå ñëîâà: ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ð ï ð ï ï ï ï ï ï ï |
Apache HTTP Server Version 2.2
ab
ÄÒ ÎÖÖÔÔÅ ×ßÐÜÖëÕèÍÊÖ? Ð?Ìë ×ÑÇÞÕôÔí (HTTP)
Ì-É?Ð× ÌÊÄÙÐË ÀÛË÷×ßÄÒ(benchmarking) ÅÅÁÈÐÜÄé. ×?Ð÷ ÎÖÖÔÔÅÀÅ
ÎþÆËÀä ÅÏÐë×ßÄÒÑ? ÎÛÇÑÑèÄé. Ö?Ø? ÎÖÖÔÔÅÀÅ ×?Ð÷ ÓÚÄ÷ ÈþÀÃÐ×
ÏôÓËÐË Ì-ÊåÍÊ×ßÄÒÑ? ÎÛÇÑÑèÄé.
ab
[ -A auth-username:password ]
[ -c concurrency ]
[ -C cookie-name=value ]
[ -d ]
[ -e csv-file ]
[ -g gnuplot-file ]
[ -h ]
[ -H custom-header ]
[ -i ]
[ -k ]
[ -n requests ]
[ -p POST-file ]
[ -P proxy-auth-username:password ]
[ -q ]
[ -s ]
[ -S ]
[ -t timelimit ]
[ -T content-type ]
[ -v verbosity]
[ -V ]
[ -w ]
[ -x <table>-attributes ]
[ -X proxy[:port] ]
[ -y <tr>-attributes ]
[ -z <td>-attributes ]
[http://]hostname[:port]/path
-A auth-username:password
:
ÐÈÇÞ ÁÈÊà×á Ë÷ÏûÐêÈýÀ? ÎßØ?È? base64 ÐÞÔêÅ?×ßÏ?
Ð?Ìë×áÄé. Ì-É?ÀÅ Ñ?ÊÈÈ? ÏôÁÈ×ßÄÒÑ? (ÏÉÈ? ÅùÎþ,
401 ÐÞÑ? ×ÚÏôÈ? ÊÈÃËÄÒÑ?) À?ÀøÎ?ÐÜ É?ÐêÏ-ÐË Ð?Ìë×áÄé.-c concurrency
-C cookie-name=value
Cookie:
×üÄ?È? ÓïÀÅ×áÄé. ÎÖÁäÈåÖ?ÄÒ
ÊÈÕû name=value
ÏÝ ÀÀÐÊ
ÍæÐÜÄé. ÐÜ ÏÙÌ×ÐÊ Ï?Ç?É? Ë÷Ïû×â Ì? ÐæÄé.-d
-e csv-file
-g gnuplot-file
-h
-H custom-header
"Accept-Encoding: zip/zop;8bit"
) Ð?ØÏ×á
×üÄ?ÑéÐÜÄé.-i
GET
ÄûÍÕ HEAD
ÏôÓËÐË ×áÄé.-k
-n requests
-p POST-file
-P proxy-auth-username:password
:
ÇÞ ÁÈÊà×á Ë÷ÏûÐêÈýÀ? ÎßØ?È? base64 ÐÞÔêÅ?×ßÏ?
Ð?Ìë×áÄé. ×ÑÇßÍÓÀÅ Ñ?ÊÈÈ? ÏôÁÈ×ßÄÒÑ? (ÏÉÈ? ÅùÎþ,
401 ÐÞÑ? ×ÚÏôÈ? ÊÈÃËÄÒÑ?) À?ÀøÎ?ÐÜ É?ÐêÏ-ÐË Ð?Ìë×áÄé.-q
ab
ÄÒ 10% Ø?ÐÊ
ÈÕ 100 ÏôÓËÄ÷ ×?ÑèÏÐÇ?
ÏÅ Ñ?×ðË?ØÂÐË ÓòÇÒ×áÄé.
-q
ÏÙÌ×ÐÊ ÐÜ É?ÁÈÈ? ÓòÇÒ×ßÑ? ÎÚÄÒÄé.-s
ab -h
ÇÞ
Ø?ÐÞ×â Ì? ÐæÄé) http
×ÑÇÞÕôÔí ÄûÍÕ SSLÐË Ë÷Ïû×á
https
×ÑÇÞÕôÔíÐË Ë÷Ïû×áÄé. ÐÜ ÁòÄÙÐÊ Í××øÐ?ÐÜÀý
ÈÕÏü ÁòÓÚÐ?ÐÜÄé. ÎÖÈÆÅÅ Ë÷ÏûÐË Â?ÇÑ×â ÀÝÐÜÄé.-S
-t timelimit
-n 50000
ÐË ÀÅÑ?×áÄé. Ñ?×èÑ? ÍÓÀ?ÅÏÎØ Ì-É? ÌÊÄÙÐË
ÀÛË÷×âÆ? Ë÷Ïû×áÄé. ÁòÊËÐ?ÐÈÇÞ ÍÓÀ?Ñ?×á Î?ÐÜ ÀÛË÷×áÄé.-T content-type
-v verbosity
4
ÐÜË?ÐÜÈù
×üÄ?ÏÅ Äû×á Ñ?ÊÈÈ?, 3
ÐÜË?ÐÜÈù (404, 202, Åþ)
ÐÐÄôÔêÅõÈ?, 2
ÐÜË?ÐÜÈù ÀöÀý(warning)ÏÝ
Ñ?ÊÈ(info)È? ÓòÇÒ×áÄé.-V
-w
-x <table>-attributes
<table>
Ð× ÌãÌÊÐÈÇÞ Ë÷Ïû×â É?ÐêÏ-.
ÌãÌÊÐË <table Ï?ÁòÏÅ >
ÓïÀÅ×áÄé.-X proxy[:port]
-y <tr>-attributes
<tr>
Ð× ÌãÌÊÐÈÇÞ Ë÷Ïû×â É?ÐêÏ-.-z <td>-attributes
<td>
Ð× ÌãÌÊÐÈÇÞ Ë÷Ïû×â É?ÐêÏ-.Ñ?Ð?ÐÈÇÞ ÁöÐÜÀÅ ÀýÑ?ÅØ É?ÖëÈ? ÈÉÐÜ Ë÷Ïû×áÄé. ÈýÇÙ×ð ÎÖÁäÈåÖ?, Ì-É?Ð× ÐÐÄô ×üÄ?, ÄéÈ? ÏìÊÞ ÐäÇÒÅùÐË ÀÀÐÜ ÐàÎþÅùÐÜÈùÌ- É?Ñ?ÀÅ ÉïË×â Ì? ÐæÄé.
ÐÜ ×ÑÇÞÁçÇ?ÐÊ HTTP/1.xÈ? ÏßÐ?Ø? ÁÈ×?×ßÑ? ÎÚÄÒÄé; ÄìÑ?
'ÁòÄû×ßÄÒ' ×?ÍÔÐ× ÐÐÄôÈÈÐË ÉîÄÒÄé. strstr(3)
ÐË
ÈÕÏü ÈÉÐÜ Ë÷ÏûÁòÆ?É?ÏÅ ÌãÅÅÀÅ É?Ñ?ÀÅ ÅÙ Ì? ÐæÄé; Ñÿ,
Ì-É? ÌÊÄÙÊÈÄéÄÒ ab
ÌÊÄÙÐË Ó?Ñ?×ßÀä ÅÙ Ì?ÅÅ
ÐæÄé.