]> granicus.if.org Git - apache/blob - docs/manual/programs/ab.xml.ko
Various other rebuilds.
[apache] / docs / manual / programs / ab.xml.ko
1 <?xml version='1.0' encoding='EUC-KR' ?>
2 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
4 <!-- English Revision: 105989:1488644 (outdated) -->
5
6 <!--
7  Licensed to the Apache Software Foundation (ASF) under one or more
8  contributor license agreements.  See the NOTICE file distributed with
9  this work for additional information regarding copyright ownership.
10  The ASF licenses this file to You under the Apache License, Version 2.0
11  (the "License"); you may not use this file except in compliance with
12  the License.  You may obtain a copy of the License at
13
14      http://www.apache.org/licenses/LICENSE-2.0
15
16  Unless required by applicable law or agreed to in writing, software
17  distributed under the License is distributed on an "AS IS" BASIS,
18  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  See the License for the specific language governing permissions and
20  limitations under the License.
21 -->
22
23 <manualpage metafile="ab.xml.meta">
24 <parentdocument href="./">Programs</parentdocument>
25
26 <title>ab - ¾ÆÆÄÄ¡ À¥¼­¹ö ¼º´É°Ë»ç µµ±¸</title>
27
28 <summary>
29     <p><code>ab</code>´Â ¾ÆÆÄÄ¡ ÇÏÀÌÆÛÅؽºÆ® Àü¼Û ÇÁ·ÎÅäÄÝ (HTTP)
30     ¼­¹öÀÇ ¼º´ÉÀ» °Ë»çÇÏ´Â(benchmarking) µµ±¸ÀÌ´Ù. ÇöÀç ¾ÆÆÄÄ¡°¡
31     ¾î¶»°Ô µ¿ÀÛÇÏ´ÂÁö ¾Ë·ÁÁØ´Ù. Æ¯È÷ ¾ÆÆÄÄ¡°¡ ÇöÀç Ãʴ砸ÀÇ
32     ¿äûÀ» ¼­ºñ½ºÇÏ´ÂÁö ¾Ë·ÁÁØ´Ù.</p>
33 </summary>
34 <seealso><a href="httpd.html">httpd</a></seealso>
35
36 <section id="synopsis"><title>°³¿ä</title>
37     <p><code><strong>ab</strong>
38     [ -<strong>A</strong> <var>auth-username</var>:<var>password</var> ]
39     [ -<strong>c</strong> <var>concurrency</var> ]
40     [ -<strong>C</strong> <var>cookie-name</var>=<var>value</var> ]
41     [ -<strong>d</strong> ]
42     [ -<strong>e</strong> <var>csv-file</var> ]
43     [ -<strong>g</strong> <var>gnuplot-file</var> ]
44     [ -<strong>h</strong> ]
45     [ -<strong>H</strong> <var>custom-header</var> ]
46     [ -<strong>i</strong> ]
47     [ -<strong>k</strong> ]
48     [ -<strong>n</strong> <var>requests</var> ]
49     [ -<strong>p</strong> <var>POST-file</var> ]
50     [ -<strong>P</strong> <var>proxy-auth-username</var>:<var>password</var> ]
51     [ -<strong>q</strong> ]
52     [ -<strong>s</strong> ]
53     [ -<strong>S</strong> ]
54     [ -<strong>t</strong> <var>timelimit</var> ]
55     [ -<strong>T</strong> <var>content-type</var> ]
56     [ -<strong>v</strong> <var>verbosity</var>]
57     [ -<strong>V</strong> ]
58     [ -<strong>w</strong> ]
59     [ -<strong>x</strong> <var>&lt;table&gt;-attributes</var> ]
60     [ -<strong>X</strong> <var>proxy</var>[:<var>port</var>] ]
61     [ -<strong>y</strong> <var>&lt;tr&gt;-attributes</var> ]
62     [ -<strong>z</strong> <var>&lt;td&gt;-attributes</var> ]
63     [http://]<var>hostname</var>[:<var>port</var>]/<var>path</var></code></p>
64 </section>
65
66 <section id="options"><title>¿É¼Ç</title>
67     <dl>
68     <dt><code>-A <var>auth-username</var>:<var>password</var></code></dt>
69     <dd>¼­¹ö¿¡°Ô BASIC Authentication Á¤º¸¸¦ Á¦°øÇÑ´Ù.
70     <code>:</code>À¸·Î ±¸ºÐÇÑ »ç¿ëÀÚ¸í°ú ¾ÏÈ£¸¦ base64 ÀÎÄÚµùÇÏ¿©
71     Àü¼ÛÇÑ´Ù. ¼­¹ö°¡ Á¤º¸¸¦ ¿ä±¸ÇÏ´ÂÁö (<em>¿¹¸¦ µé¾î</em>,
72     401 ÀÎÁõ Çʿ並 º¸³»´ÂÁö) °ü°è¾øÀÌ ¹®ÀÚ¿­À» Àü¼ÛÇÑ´Ù.</dd>
73
74     <dt><code>-c <var>concurrency</var></code></dt>
75     <dd>µ¿½Ã¿¡ ¿äûÇϴ ¿äû¼ö. ±âº»ÀûÀ¸·Î Çѹø¿¡ ÇÑ ¿äû¸¸À»
76     º¸³½´Ù.</dd>
77
78     <dt><code>-C <var>cookie-name</var>=<var>value</var></code></dt>
79     <dd>¿äû¿¡ <code>Cookie:</code> Çì´õ¸¦ Ãß°¡ÇÑ´Ù. ¾Æ±Ô¸ÕÆ®´Â
80     º¸Åë <code><var>name</var>=<var>value</var></code>¿Í °°Àº
81     ½ÖÀÌ´Ù. ÀÌ ¿É¼ÇÀº ¿©·¯¹ø »ç¿ëÇÒ ¼ö ÀÖ´Ù.</dd>
82
83     <dt><code>-d</code></dt>
84     <dd>"percentage served within XX [ms] table"À» Ãâ·ÂÇÏÁö
85     ¾Ê´Â´Ù. (ȣȯ¼ºÀ» À§ÇØ).</dd>
86
87     <dt><code>-e <var>csv-file</var></code></dt>
88     <dd>¿äûÀ» Ã³¸®Çϴµ¥ °É¸° (¹Ð¸®ÃÊ ´ÜÀ§) ½Ã°£µéÀÇ (1%¿¡¼­
89     100%) ´©Àû¹éºÐÀ²À» ½°Ç¥·Î ±¸ºÐÇÑ Çü½Ä(CSV)À¸·Î Ãâ·ÂÇÑ´Ù.
90     °á°ú¸¦ À̹̠'Á¤¸®'ÇÏ¿´±â¶§¹®¿¡ 'gnuplot' ÆÄÀϺ¸´Ù º¸Åë ´õ
91     À¯¿ëÇÏ´Ù.</dd>
92
93     <dt><code>-g <var>gnuplot-file</var></code></dt>
94     <dd>ÃøÁ¤ÇÑ ¸ðµç °ªÀ» 'gnuplot' È¤Àº TSV (Tab separate values,
95     ÅÇÀ¸·Î ±¸ºÐÇÑ °ª) ÆÄÀÏ¿¡ ±â·ÏÇÑ´Ù. Gnuplot, IDL, Mathematica,
96     Igor, ½ÉÁö¾î Excel °°Àº ÇÁ·Î±×·¥¿¡¼­µµ ÀÌ·± ÆÄÀÏÀ» ½±°Ô
97     ÀÐÀ» ¼ö ÀÖ´Ù. ÆÄÀÏÀǠù¹ø° ÁÙ¿¡ Ç׸ñÀ̸§ÀÌ ³ª¿Â´Ù. </dd>
98
99     <dt><code>-h</code></dt>
100     <dd>»ç¿ë¹ýÀ» Ãâ·ÂÇÑ´Ù.</dd>
101
102     <dt><code>-H <var>custom-header</var></code></dt>
103     <dd>¿äû¿¡ Çì´õ¸¦ Ãß°¡ÇÑ´Ù. ¾Æ±Ô¸ÕÆ®´Â º¸Åë ÄÝ·ÐÀ¸·Î ±¸ºÐÇÑ
104     ½ÖÀΠ(<em>¿¹¸¦ µé¾î</em>,
105     <code>"Accept-Encoding: zip/zop;8bit"</code>) À¯È¿ÇÑ
106     Çì´õÁÙÀÌ´Ù.</dd>
107
108     <dt><code>-i</code></dt>
109     <dd><code>GET</code> ´ë½Å <code>HEAD</code> ¿äûÀ» ÇÑ´Ù.</dd>
110
111     <dt><code>-k</code></dt>
112     <dd>HTTP KeepAlive ±â´ÉÀ» »ç¿ëÇÑ´Ù. <em>¿¹¸¦ µé¾î</em>,
113     ÇÑ HTTP ¼¼¼Ç¿¡¼­ ¿©·¯ ¿äûÀ» ÇÑ´Ù. ±âº»ÀûÀ¸·Î KeepAlive¸¦
114     »ç¿ëÇÏÁö ¾Ê´Â´Ù.</dd>
115
116     <dt><code>-n <var>requests</var></code></dt>
117     <dd>¼º´ÉÀ» °Ë»çÇϱâÀ§ÇØ º¸³»´Â ¿äû¼ö. ±âº»°ªÀ¸·Î ¿äûÀ»
118     Çѹø¸¸ º¸³»±â¶§¹®¿¡ ÀϹÝÀûÀΠ¼º´É°Ë»ç °á°ú¸¦ ¾òÀ» ¼ö ¾ø´Ù.</dd>
119
120     <dt><code>-p <var>POST-file</var></code></dt>
121     <dd>POST ÀÚ·á ÆÄÀÏ.</dd>
122
123     <dt><code>-P <var>proxy-auth-username</var>:<var>password</var></code></dt>
124     <dd>ÇÁ·Ï½Ã¸¦ ÅëÇØ BASIC Authentication Á¤º¸¸¦ Á¦°øÇÑ´Ù.
125     <code>:</code>·Î ±¸ºÐÇÑ »ç¿ëÀÚ¸í°ú ¾ÏÈ£¸¦ base64 ÀÎÄÚµùÇÏ¿©
126     Àü¼ÛÇÑ´Ù. ÇÁ·Ï½Ã°¡ Á¤º¸¸¦ ¿ä±¸ÇÏ´ÂÁö (<em>¿¹¸¦ µé¾î</em>,
127     401 ÀÎÁõ Çʿ並 º¸³»´ÂÁö) °ü°è¾øÀÌ ¹®ÀÚ¿­À» Àü¼ÛÇÑ´Ù.</dd>
128
129     <dt><code>-q</code></dt>
130     <dd>150°³ ÀÌ»ó ¿äûÀ» º¸³¾¶§ <code>ab</code>´Â 10% È¤Àº
131     ¸Å 100 ¿äû´ç <code>Ç¥ÁØ¿À·ù</code>¿¡ ÁøÇà»óȲÀ» Ãâ·ÂÇÑ´Ù.
132     <code>-q</code> ¿É¼ÇÀº ÀÌ ¹®±¸¸¦ Ãâ·ÂÇÏÁö ¾Ê´Â´Ù.</dd>
133
134     <dt><code>-s</code></dt>
135     <dd>±â´ÉÀ» Ãß°¡ÇÏ¿© ÄÄÆÄÀÏÇÏ¿´´Ù¸é (<code>ab -h</code>·Î
136     È®ÀÎÇÒ ¼ö ÀÖ´Ù) <code>http</code> ÇÁ·ÎÅäÄÝ ´ë½Å SSLÀ» »ç¿ëÇÑ
137     <code>https</code> ÇÁ·ÎÅäÄÝÀ» »ç¿ëÇÑ´Ù. ÀÌ ±â´ÉÀº ½ÇÇèÀûÀÌ°í
138     <em>¸Å¿ì</em> ±âÃÊÀûÀÌ´Ù. ¾Æ¸¶µµ »ç¿ëÀ» ²¨·ÁÇÒ °ÍÀÌ´Ù.</dd>
139
140     <dt><code>-S</code></dt>
141     <dd>Áß°£°ª°ú Ç¥ÁØÆíÂ÷¸¦ Ãâ·ÂÇÏÁö ¾Ê°í, Æò±Õ°ú Áß°£°ªÀÇ Â÷ÀÌ°¡
142     Ç¥ÁØÆíÂ÷º¸´Ù Å©´õ¶óµµ °æ°í/¿À·ù¸¦ Ãâ·ÂÇÏÁö ¾Ê´Â´Ù.
143     ÃÖ¼Ò/Æò±Õ/ÃÖ´ë °ªÀ» Ãâ·ÂÇÑ´Ù. (ȣȯ¼ºÀ» À§ÇØ).</dd>
144
145     <dt><code>-t <var>timelimit</var></code></dt>
146     <dd>¼º´ÉÀ» °Ë»çÇϴ ÃÖ´ë ÃÊ´ÜÀ§ ½Ã°£. ³»ºÎÀûÀ¸·Î
147     <code>-n 50000</code>À» °¡Á¤ÇÑ´Ù. Á¤ÇØÁø ½Ã°£µ¿¾È ¼­¹ö ¼º´ÉÀ»
148     °Ë»çÇÒ¶§ »ç¿ëÇÑ´Ù. ±âº»ÀûÀ¸·Î ½Ã°£Á¦ÇÑ ¾øÀÌ °Ë»çÇÑ´Ù.</dd>
149
150     <dt><code>-T <var>content-type</var></code></dt>
151     <dd>POST ÀÚ·áÀÇ Content-type Çì´õ.</dd>
152
153     <dt><code>-v <var>verbosity</var></code></dt>
154     <dd>Ãâ·ÂÀÇ ÀÚ¼¼ÇÔ ¼öÁØÀ» ÁöÁ¤ÇÑ´Ù. <code>4</code> ÀÌ»óÀ̸é
155     Çì´õ¿¡ ´ëÇÑ Á¤º¸¸¦, <code>3</code> ÀÌ»óÀ̸é (404, 202, µî)
156     ÀÀ´äÄڵ带, <code>2</code> ÀÌ»óÀ̸頰æ°í(warning)¿Í
157     Á¤º¸(info)¸¦ Ãâ·ÂÇÑ´Ù.</dd>
158
159     <dt><code>-V</code></dt>
160     <dd>¹öÀüÀ» Ãâ·ÂÇÏ°í Á¾·áÇÑ´Ù.</dd>
161
162     <dt><code>-w</code></dt>
163     <dd>°á°ú¸¦ HTML Ç¥·Î Ãâ·ÂÇÑ´Ù. ±âº»ÀûÀ¸·Î Ç¥¸¦ Èò ¹è°æ¿¡
164     µÎ ¿­·Î ÀÛ¼ºÇÑ´Ù.</dd>
165
166     <dt><code>-x <var>&lt;table&gt;-attributes</var></code></dt>
167     <dd><code>&lt;table&gt;</code>ÀÇ ¼Ó¼ºÀ¸·Î »ç¿ëÇÒ ¹®ÀÚ¿­.
168     ¼Ó¼ºÀ» <code>&lt;table <var>¿©±â¿¡</var> &gt;</code>
169     Ãß°¡ÇÑ´Ù.</dd>
170
171     <dt><code>-X <var>proxy</var>[:<var>port</var>]</code></dt>
172     <dd>ÇÁ·Ï½Ã ¼­¹ö¸¦ »ç¿ëÇÏ¿© ¿äûÇÑ´Ù.</dd>
173
174     <dt><code>-y <var>&lt;tr&gt;-attributes</var></code></dt>
175     <dd><code>&lt;tr&gt;</code>ÀÇ ¼Ó¼ºÀ¸·Î »ç¿ëÇÒ ¹®ÀÚ¿­.</dd>
176
177     <dt><code>-z <var>&lt;td&gt;-attributes</var></code></dt>
178     <dd><code>&lt;td&gt;</code>ÀÇ ¼Ó¼ºÀ¸·Î »ç¿ëÇÒ ¹®ÀÚ¿­.</dd>
179     </dl>
180 </section>
181
182 <section id="bugs"><title>¹ö±×</title>
183     <p>Á¤ÀûÀ¸·Î ±æÀÌ°¡ °íÁ¤µÈ ¹öÆÛ¸¦ ¸¹ÀÌ »ç¿ëÇÑ´Ù. ¸í·ÉÇà
184     ¾Æ±Ô¸ÕÆ®, ¼­¹öÀÇ ÀÀ´ä Çì´õ, ´Ù¸¥ ¿ÜºÎ ÀԷµéÀ» °°ÀÌ
185     ÀоîµéÀ̸鼭 ¹®Á¦°¡ ¹ß»ýÇÒ ¼ö ÀÖ´Ù.</p>
186
187     <p>ÀÌ ÇÁ·Î±×·¥Àº HTTP/1.x¸¦ ¿ÏÀüÈ÷ ±¸ÇöÇÏÁö ¾Ê´Â´Ù; ´ÜÁö
188     '±â´ëÇÏ´Â' Çü½ÄÀÇ ÀÀ´ä¸¸À» ¹Þ´Â´Ù. <code>strstr(3)</code>À»
189     ¸Å¿ì ¸¹ÀÌ »ç¿ë±â¶§¹®¿¡ ¼Óµµ°¡ ¹®Á¦°¡ µÉ ¼ö ÀÖ´Ù; <em>Áï</em>,
190     ¼­¹ö ¼º´Éº¸´Ù´Â <code>ab</code> ¼º´ÉÀ» ÃøÁ¤ÇÏ°Ô µÉ ¼öµµ
191     ÀÖ´Ù.</p>
192 </section>
193
194 </manualpage>