Apache HTTP Server Version 2.2
This document refers to a legacy release (2.2) of Apache httpd. The active release (2.4) is documented here. If you have not already upgraded, please follow this link for more information.
You may follow this link to go to the current version of this document.
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
¼º´ÉÀ» ÃøÁ¤ÇÏ°Ô µÉ ¼öµµ
ÀÖ´Ù.