1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
|
<?xml version="1.0" encoding="EUC-KR"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>ab - ¾ÆÆÄÄ¡ À¥¼¹ö ¼º´É°Ë»ç µµ±¸ - Apache HTTP Server</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body id="manual-page"><div id="page-header">
<p class="menu"><a href="../mod/">¸ðµâ</a> | <a href="../mod/directives.html">Áö½Ã¾îµé</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">¿ë¾î</a> | <a href="../sitemap.html">»çÀÌÆ®¸Ê</a></p>
<p class="apache">Apache HTTP Server Version 2.2</p>
<img alt="" src="../images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>ab - ¾ÆÆÄÄ¡ À¥¼¹ö ¼º´É°Ë»ç µµ±¸</h1>
<div class="toplang">
<p><span>°¡´ÉÇÑ ¾ð¾î: </span><a href="../en/programs/ab.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ko/programs/ab.html" title="Korean"> ko </a> |
<a href="../tr/programs/ab.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p>
</div>
<div class="outofdate">ÀÌ ¹®¼´Â ÃÖ½ÅÆÇ ¹ø¿ªÀÌ ¾Æ´Õ´Ï´Ù.
ÃÖ±Ù¿¡ º¯°æµÈ ³»¿ëÀº ¿µ¾î ¹®¼¸¦ Âü°íÇϼ¼¿ä.</div>
<p><code>ab</code>´Â ¾ÆÆÄÄ¡ ÇÏÀÌÆÛÅؽºÆ® Àü¼Û ÇÁ·ÎÅäÄÝ (HTTP)
¼¹öÀÇ ¼º´ÉÀ» °Ë»çÇÏ´Â(benchmarking) µµ±¸ÀÌ´Ù. ÇöÀç ¾ÆÆÄÄ¡°¡
¾î¶»°Ô µ¿ÀÛÇÏ´ÂÁö ¾Ë·ÁÁØ´Ù. ƯÈ÷ ¾ÆÆÄÄ¡°¡ ÇöÀç ÃÊ´ç ¸î°³ÀÇ
¿äûÀ» ¼ºñ½ºÇÏ´ÂÁö ¾Ë·ÁÁØ´Ù.</p>
</div>
<div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">°³¿ä</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#options">¿É¼Ç</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#bugs">¹ö±×</a></li>
</ul><h3>Âü°í</h3><ul class="seealso"><li><a href="httpd.html">httpd</a></li></ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="synopsis" id="synopsis">°³¿ä</a></h2>
<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>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="options" id="options">¿É¼Ç</a></h2>
<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, ½ÉÁö¾î Excel °°Àº ÇÁ·Î±×·¥¿¡¼µµ ÀÌ·± ÆÄÀÏÀ» ½±°Ô
ÀÐÀ» ¼ö ÀÖ´Ù. ÆÄÀÏÀÇ Ã¹¹ø° ÁÙ¿¡ Ç׸ñÀ̸§ÀÌ ³ª¿Â´Ù. </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>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="bugs" id="bugs">¹ö±×</a></h2>
<p>Á¤ÀûÀ¸·Î ±æÀÌ°¡ °íÁ¤µÈ ¹öÆÛ¸¦ ¸¹ÀÌ »ç¿ëÇÑ´Ù. ¸í·ÉÇà
¾Æ±Ô¸ÕÆ®, ¼¹öÀÇ ÀÀ´ä Çì´õ, ´Ù¸¥ ¿ÜºÎ ÀԷµéÀ» °°ÀÌ
ÀоîµéÀÌ¸é¼ ¹®Á¦°¡ ¹ß»ýÇÒ ¼ö ÀÖ´Ù.</p>
<p>ÀÌ ÇÁ·Î±×·¥Àº HTTP/1.x¸¦ ¿ÏÀüÈ÷ ±¸ÇöÇÏÁö ¾Ê´Â´Ù; ´ÜÁö
'±â´ëÇÏ´Â' Çü½ÄÀÇ ÀÀ´ä¸¸À» ¹Þ´Â´Ù. <code>strstr(3)</code>À»
¸Å¿ì ¸¹ÀÌ »ç¿ë±â¶§¹®¿¡ ¼Óµµ°¡ ¹®Á¦°¡ µÉ ¼ö ÀÖ´Ù; <em>Áï</em>,
¼¹ö ¼º´Éº¸´Ù´Â <code>ab</code> ¼º´ÉÀ» ÃøÁ¤ÇÏ°Ô µÉ ¼öµµ
ÀÖ´Ù.</p>
</div></div>
<div class="bottomlang">
<p><span>°¡´ÉÇÑ ¾ð¾î: </span><a href="../en/programs/ab.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ko/programs/ab.html" title="Korean"> ko </a> |
<a href="../tr/programs/ab.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p>
</div><div id="footer">
<p class="apache">Copyright 2011 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="../mod/">¸ðµâ</a> | <a href="../mod/directives.html">Áö½Ã¾îµé</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">¿ë¾î</a> | <a href="../sitemap.html">»çÀÌÆ®¸Ê</a></p></div>
</body></html>
|