diff options
Diffstat (limited to 'docs/manual/programs/ab.xml.ko')
-rw-r--r-- | docs/manual/programs/ab.xml.ko | 193 |
1 files changed, 193 insertions, 0 deletions
diff --git a/docs/manual/programs/ab.xml.ko b/docs/manual/programs/ab.xml.ko new file mode 100644 index 0000000000..09dda2dba2 --- /dev/null +++ b/docs/manual/programs/ab.xml.ko @@ -0,0 +1,193 @@ +<?xml version='1.0' encoding='EUC-KR' ?> +<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd"> +<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?> +<!-- English Revision: 1.5 --> + +<!-- + Copyright 2004 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<manualpage metafile="ab.xml.meta"> +<parentdocument href="./">Programs</parentdocument> + +<title>ab - ¾ÆÆÄÄ¡ À¥¼¹ö ¼º´É°Ë»ç µµ±¸</title> + +<summary> + <p><code>ab</code>´Â ¾ÆÆÄÄ¡ ÇÏÀÌÆÛÅؽºÆ® Àü¼Û ÇÁ·ÎÅäÄÝ (HTTP) + ¼¹öÀÇ ¼º´ÉÀ» °Ë»çÇÏ´Â(benchmarking) µµ±¸ÀÌ´Ù. ÇöÀç ¾ÆÆÄÄ¡°¡ + ¾î¶»°Ô µ¿ÀÛÇÏ´ÂÁö ¾Ë·ÁÁØ´Ù. ƯÈ÷ ¾ÆÆÄÄ¡°¡ ÇöÀç ÃÊ´ç ¸î°³ÀÇ + ¿äûÀ» ¼ºñ½ºÇÏ´ÂÁö ¾Ë·ÁÁØ´Ù.</p> +</summary> +<seealso><a href="httpd.html">httpd</a></seealso> + +<section id="synopsis"><title>°³¿ä</title> + <p><code><strong>ab</strong> + [ -<strong>A</strong> <var>auth-username</var>:<var>password</var> ] + [ -<strong>c</strong> <var>concurrency</var> ] + [ -<strong>C</strong> <var>cookie-name</var>=<var>value</var> ] + [ -<strong>d</strong> ] + [ -<strong>e</strong> <var>csv-file</var> ] + [ -<strong>g</strong> <var>gnuplot-file</var> ] + [ -<strong>h</strong> ] + [ -<strong>H</strong> <var>custom-header</var> ] + [ -<strong>i</strong> ] + [ -<strong>k</strong> ] + [ -<strong>n</strong> <var>requests</var> ] + [ -<strong>p</strong> <var>POST-file</var> ] + [ -<strong>P</strong> <var>proxy-auth-username</var>:<var>password</var> ] + [ -<strong>q</strong> ] + [ -<strong>s</strong> ] + [ -<strong>S</strong> ] + [ -<strong>t</strong> <var>timelimit</var> ] + [ -<strong>T</strong> <var>content-type</var> ] + [ -<strong>v</strong> <var>verbosity</var>] + [ -<strong>V</strong> ] + [ -<strong>w</strong> ] + [ -<strong>x</strong> <var><table>-attributes</var> ] + [ -<strong>X</strong> <var>proxy</var>[:<var>port</var>] ] + [ -<strong>y</strong> <var><tr>-attributes</var> ] + [ -<strong>z</strong> <var><td>-attributes</var> ] + [http://]<var>hostname</var>[:<var>port</var>]/<var>path</var></code></p> +</section> + +<section id="options"><title>¿É¼Ç</title> + <dl> + <dt><code>-A <var>auth-username</var>:<var>password</var></code></dt> + <dd>¼¹ö¿¡°Ô BASIC Authentication Á¤º¸¸¦ Á¦°øÇÑ´Ù. + <code>:</code>À¸·Î ±¸ºÐÇÑ »ç¿ëÀÚ¸í°ú ¾ÏÈ£¸¦ base64 ÀÎÄÚµùÇÏ¿© + Àü¼ÛÇÑ´Ù. ¼¹ö°¡ Á¤º¸¸¦ ¿ä±¸ÇÏ´ÂÁö (<em>¿¹¸¦ µé¾î</em>, + 401 ÀÎÁõ Çʿ並 º¸³»´ÂÁö) °ü°è¾øÀÌ ¹®ÀÚ¿À» Àü¼ÛÇÑ´Ù.</dd> + + <dt><code>-c <var>concurrency</var></code></dt> + <dd>µ¿½Ã¿¡ ¿äûÇÏ´Â ¿äû¼ö. ±âº»ÀûÀ¸·Î Çѹø¿¡ ÇÑ ¿äû¸¸À» + º¸³½´Ù.</dd> + + <dt><code>-C <var>cookie-name</var>=<var>value</var></code></dt> + <dd>¿äû¿¡ <code>Cookie:</code> Çì´õ¸¦ Ãß°¡ÇÑ´Ù. ¾Æ±Ô¸ÕÆ®´Â + º¸Åë <code><var>name</var>=<var>value</var></code>¿Í °°Àº + ½ÖÀÌ´Ù. ÀÌ ¿É¼ÇÀº ¿©·¯¹ø »ç¿ëÇÒ ¼ö ÀÖ´Ù.</dd> + + <dt><code>-d</code></dt> + <dd>"percentage served within XX [ms] table"À» Ãâ·ÂÇÏÁö + ¾Ê´Â´Ù. (ȣȯ¼ºÀ» À§ÇØ).</dd> + + <dt><code>-e <var>csv-file</var></code></dt> + <dd>¿äûÀ» ó¸®Çϴµ¥ °É¸° (¹Ð¸®ÃÊ ´ÜÀ§) ½Ã°£µéÀÇ (1%¿¡¼ + 100%) ´©Àû¹éºÐÀ²À» ½°Ç¥·Î ±¸ºÐÇÑ Çü½Ä(CSV)À¸·Î Ãâ·ÂÇÑ´Ù. + °á°ú¸¦ ÀÌ¹Ì 'Á¤¸®'ÇÏ¿´±â¶§¹®¿¡ 'gnuplot' ÆÄÀϺ¸´Ù º¸Åë ´õ + À¯¿ëÇÏ´Ù.</dd> + + <dt><code>-g <var>gnuplot-file</var></code></dt> + <dd>ÃøÁ¤ÇÑ ¸ðµç °ªÀ» 'gnuplot' ȤÀº TSV (Tab separate values, + ÅÇÀ¸·Î ±¸ºÐÇÑ °ª) ÆÄÀÏ¿¡ ±â·ÏÇÑ´Ù. Gnuplot, IDL, Mathematica, + Igor, ½ÉÁö¾î Excell °°Àº ÇÁ·Î±×·¥¿¡¼µµ ÀÌ·± ÆÄÀÏÀ» ½±°Ô + ÀÐÀ» ¼ö ÀÖ´Ù. ÆÄÀÏÀÇ Ã¹¹ø° ÁÙ¿¡ Ç׸ñÀ̸§ÀÌ ³ª¿Â´Ù. </dd> + + <dt><code>-h</code></dt> + <dd>»ç¿ë¹ýÀ» Ãâ·ÂÇÑ´Ù.</dd> + + <dt><code>-H <var>custom-header</var></code></dt> + <dd>¿äû¿¡ Çì´õ¸¦ Ãß°¡ÇÑ´Ù. ¾Æ±Ô¸ÕÆ®´Â º¸Åë ÄÝ·ÐÀ¸·Î ±¸ºÐÇÑ + ½ÖÀÎ (<em>¿¹¸¦ µé¾î</em>, + <code>"Accept-Encoding: zip/zop;8bit"</code>) À¯È¿ÇÑ + Çì´õÁÙÀÌ´Ù.</dd> + + <dt><code>-i</code></dt> + <dd><code>GET</code> ´ë½Å <code>HEAD</code> ¿äûÀ» ÇÑ´Ù.</dd> + + <dt><code>-k</code></dt> + <dd>HTTP KeepAlive ±â´ÉÀ» »ç¿ëÇÑ´Ù. <em>¿¹¸¦ µé¾î</em>, + ÇÑ HTTP ¼¼¼Ç¿¡¼ ¿©·¯ ¿äûÀ» ÇÑ´Ù. ±âº»ÀûÀ¸·Î KeepAlive¸¦ + »ç¿ëÇÏÁö ¾Ê´Â´Ù.</dd> + + <dt><code>-n <var>requests</var></code></dt> + <dd>¼º´ÉÀ» °Ë»çÇϱâÀ§ÇØ º¸³»´Â ¿äû¼ö. ±âº»°ªÀ¸·Î ¿äûÀ» + Çѹø¸¸ º¸³»±â¶§¹®¿¡ ÀϹÝÀûÀÎ ¼º´É°Ë»ç °á°ú¸¦ ¾òÀ» ¼ö ¾ø´Ù.</dd> + + <dt><code>-p <var>POST-file</var></code></dt> + <dd>POST ÀÚ·á ÆÄÀÏ.</dd> + + <dt><code>-P <var>proxy-auth-username</var>:<var>password</var></code></dt> + <dd>ÇÁ·Ï½Ã¸¦ ÅëÇØ BASIC Authentication Á¤º¸¸¦ Á¦°øÇÑ´Ù. + <code>:</code>·Î ±¸ºÐÇÑ »ç¿ëÀÚ¸í°ú ¾ÏÈ£¸¦ base64 ÀÎÄÚµùÇÏ¿© + Àü¼ÛÇÑ´Ù. ÇÁ·Ï½Ã°¡ Á¤º¸¸¦ ¿ä±¸ÇÏ´ÂÁö (<em>¿¹¸¦ µé¾î</em>, + 401 ÀÎÁõ Çʿ並 º¸³»´ÂÁö) °ü°è¾øÀÌ ¹®ÀÚ¿À» Àü¼ÛÇÑ´Ù.</dd> + + <dt><code>-q</code></dt> + <dd>150°³ ÀÌ»ó ¿äûÀ» º¸³¾¶§ <code>ab</code>´Â 10% ȤÀº + ¸Å 100 ¿äû´ç <code>Ç¥ÁØ¿À·ù</code>¿¡ ÁøÇà»óȲÀ» Ãâ·ÂÇÑ´Ù. + <code>-q</code> ¿É¼ÇÀº ÀÌ ¹®±¸¸¦ Ãâ·ÂÇÏÁö ¾Ê´Â´Ù.</dd> + + <dt><code>-s</code></dt> + <dd>±â´ÉÀ» Ãß°¡ÇÏ¿© ÄÄÆÄÀÏÇÏ¿´´Ù¸é (<code>ab -h</code>·Î + È®ÀÎÇÒ ¼ö ÀÖ´Ù) <code>http</code> ÇÁ·ÎÅäÄÝ ´ë½Å SSLÀ» »ç¿ëÇÑ + <code>https</code> ÇÁ·ÎÅäÄÝÀ» »ç¿ëÇÑ´Ù. ÀÌ ±â´ÉÀº ½ÇÇèÀûÀÌ°í + <em>¸Å¿ì</em> ±âÃÊÀûÀÌ´Ù. ¾Æ¸¶µµ »ç¿ëÀ» ²¨·ÁÇÒ °ÍÀÌ´Ù.</dd> + + <dt><code>-S</code></dt> + <dd>Áß°£°ª°ú Ç¥ÁØÆíÂ÷¸¦ Ãâ·ÂÇÏÁö ¾Ê°í, Æò±Õ°ú Áß°£°ªÀÇ Â÷ÀÌ°¡ + Ç¥ÁØÆíÂ÷º¸´Ù Å©´õ¶óµµ °æ°í/¿À·ù¸¦ Ãâ·ÂÇÏÁö ¾Ê´Â´Ù. + ÃÖ¼Ò/Æò±Õ/ÃÖ´ë °ªÀ» Ãâ·ÂÇÑ´Ù. (ȣȯ¼ºÀ» À§ÇØ).</dd> + + <dt><code>-t <var>timelimit</var></code></dt> + <dd>¼º´ÉÀ» °Ë»çÇÏ´Â ÃÖ´ë ÃÊ´ÜÀ§ ½Ã°£. ³»ºÎÀûÀ¸·Î + <code>-n 50000</code>À» °¡Á¤ÇÑ´Ù. Á¤ÇØÁø ½Ã°£µ¿¾È ¼¹ö ¼º´ÉÀ» + °Ë»çÇÒ¶§ »ç¿ëÇÑ´Ù. ±âº»ÀûÀ¸·Î ½Ã°£Á¦ÇÑ ¾øÀÌ °Ë»çÇÑ´Ù.</dd> + + <dt><code>-T <var>content-type</var></code></dt> + <dd>POST ÀÚ·áÀÇ Content-type Çì´õ.</dd> + + <dt><code>-v <var>verbosity</var></code></dt> + <dd>Ãâ·ÂÀÇ ÀÚ¼¼ÇÔ ¼öÁØÀ» ÁöÁ¤ÇÑ´Ù. <code>4</code> ÀÌ»óÀ̸é + Çì´õ¿¡ ´ëÇÑ Á¤º¸¸¦, <code>3</code> ÀÌ»óÀ̸é (404, 202, µî) + ÀÀ´äÄڵ带, <code>2</code> ÀÌ»óÀÌ¸é °æ°í(warning)¿Í + Á¤º¸(info)¸¦ Ãâ·ÂÇÑ´Ù.</dd> + + <dt><code>-V</code></dt> + <dd>¹öÀüÀ» Ãâ·ÂÇÏ°í Á¾·áÇÑ´Ù.</dd> + + <dt><code>-w</code></dt> + <dd>°á°ú¸¦ HTML Ç¥·Î Ãâ·ÂÇÑ´Ù. ±âº»ÀûÀ¸·Î Ç¥¸¦ Èò ¹è°æ¿¡ + µÎ ¿·Î ÀÛ¼ºÇÑ´Ù.</dd> + + <dt><code>-x <var><table>-attributes</var></code></dt> + <dd><code><table></code>ÀÇ ¼Ó¼ºÀ¸·Î »ç¿ëÇÒ ¹®ÀÚ¿. + ¼Ó¼ºÀ» <code><table <var>¿©±â¿¡</var> ></code> + Ãß°¡ÇÑ´Ù.</dd> + + <dt><code>-X <var>proxy</var>[:<var>port</var>]</code></dt> + <dd>ÇÁ·Ï½Ã ¼¹ö¸¦ »ç¿ëÇÏ¿© ¿äûÇÑ´Ù.</dd> + + <dt><code>-y <var><tr>-attributes</var></code></dt> + <dd><code><tr></code>ÀÇ ¼Ó¼ºÀ¸·Î »ç¿ëÇÒ ¹®ÀÚ¿.</dd> + + <dt><code>-z <var><td>-attributes</var></code></dt> + <dd><code><td></code>ÀÇ ¼Ó¼ºÀ¸·Î »ç¿ëÇÒ ¹®ÀÚ¿.</dd> + </dl> +</section> + +<section id="bugs"><title>¹ö±×</title> + <p>Á¤ÀûÀ¸·Î ±æÀÌ°¡ °íÁ¤µÈ ¹öÆÛ¸¦ ¸¹ÀÌ »ç¿ëÇÑ´Ù. ¸í·ÉÇà + ¾Æ±Ô¸ÕÆ®, ¼¹öÀÇ ÀÀ´ä Çì´õ, ´Ù¸¥ ¿ÜºÎ ÀԷµéÀ» °°ÀÌ + ÀоîµéÀÌ¸é¼ ¹®Á¦°¡ ¹ß»ýÇÒ ¼ö ÀÖ´Ù.</p> + + <p>ÀÌ ÇÁ·Î±×·¥Àº HTTP/1.x¸¦ ¿ÏÀüÈ÷ ±¸ÇöÇÏÁö ¾Ê´Â´Ù; ´ÜÁö + '±â´ëÇÏ´Â' Çü½ÄÀÇ ÀÀ´ä¸¸À» ¹Þ´Â´Ù. <code>strstr(3)</code>À» + ¸Å¿ì ¸¹ÀÌ »ç¿ë±â¶§¹®¿¡ ¼Óµµ°¡ ¹®Á¦°¡ µÉ ¼ö ÀÖ´Ù; <em>Áï</em>, + ¼¹ö ¼º´Éº¸´Ù´Â <code>ab</code> ¼º´ÉÀ» ÃøÁ¤ÇÏ°Ô µÉ ¼öµµ + ÀÖ´Ù.</p> +</section> + +</manualpage> |