home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / apache_2.2.8-win32-x86-no_ssl.msi / Data1.cab / _F9C233BD8F4FB905D0771072F20E93AF < prev    next >
Extensible Markup Language  |  2007-09-01  |  11KB  |  198 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>ab - Apache HTTP server benchmarking tool - Apache HTTP Server</title>
  9. <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="../images/favicon.ico" rel="shortcut icon" /></head>
  13. <body id="manual-page"><div id="page-header">
  14. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
  15. <p class="apache">Apache HTTP Server Version 2.2</p>
  16. <img alt="" src="../images/feather.gif" /></div>
  17. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  18. <div id="path">
  19. <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 - Apache HTTP server benchmarking tool</h1>
  20. <div class="toplang">
  21. <p><span>Available Languages: </span><a href="../en/programs/ab.html" title="English"> en </a> |
  22. <a href="../ko/programs/ab.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  23. </div>
  24.  
  25.     <p><code>ab</code> is a tool for benchmarking your Apache Hypertext
  26.     Transfer Protocol (HTTP) server. It is designed to give you an impression
  27.     of how your current Apache installation performs. This especially shows
  28.     you how many requests per second your Apache installation is capable of
  29.     serving.</p>
  30. </div>
  31. <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
  32. <li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li>
  33. <li><img alt="" src="../images/down.gif" /> <a href="#bugs">Bugs</a></li>
  34. </ul><h3>See also</h3><ul class="seealso"><li><code class="program"><a href="../programs/httpd.html">httpd</a></code></li></ul></div>
  35. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  36. <div class="section">
  37. <h2><a name="synopsis" id="synopsis">Synopsis</a></h2>
  38.     <p><code><strong>ab</strong>
  39.     [ -<strong>A</strong> <var>auth-username</var>:<var>password</var> ]
  40.     [ -<strong>c</strong> <var>concurrency</var> ]
  41.     [ -<strong>C</strong> <var>cookie-name</var>=<var>value</var> ]
  42.     [ -<strong>d</strong> ]
  43.     [ -<strong>e</strong> <var>csv-file</var> ]
  44.     [ -<strong>g</strong> <var>gnuplot-file</var> ]
  45.     [ -<strong>h</strong> ]
  46.     [ -<strong>H</strong> <var>custom-header</var> ]
  47.     [ -<strong>i</strong> ]
  48.     [ -<strong>k</strong> ]
  49.     [ -<strong>n</strong> <var>requests</var> ]
  50.     [ -<strong>p</strong> <var>POST-file</var> ]
  51.     [ -<strong>P</strong> <var>proxy-auth-username</var>:<var>password</var> ]
  52.     [ -<strong>q</strong> ]
  53.     [ -<strong>s</strong> ]
  54.     [ -<strong>S</strong> ]
  55.     [ -<strong>t</strong> <var>timelimit</var> ]
  56.     [ -<strong>T</strong> <var>content-type</var> ]
  57.     [ -<strong>v</strong> <var>verbosity</var>]
  58.     [ -<strong>V</strong> ]
  59.     [ -<strong>w</strong> ]
  60.     [ -<strong>x</strong> <var><table>-attributes</var> ]
  61.     [ -<strong>X</strong> <var>proxy</var>[:<var>port</var>] ]
  62.     [ -<strong>y</strong> <var><tr>-attributes</var> ]
  63.     [ -<strong>z</strong> <var><td>-attributes</var> ]
  64.     [http://]<var>hostname</var>[:<var>port</var>]/<var>path</var></code></p>
  65. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  66. <div class="section">
  67. <h2><a name="options" id="options">Options</a></h2>
  68.     <dl>
  69.     <dt><code>-A <var>auth-username</var>:<var>password</var></code></dt>
  70.     <dd>Supply BASIC Authentication credentials to the server. The username and
  71.     password are separated by a single <code>:</code> and sent on the wire
  72.     base64 encoded. The string is sent regardless of whether the server needs
  73.     it (<em>i.e.</em>, has sent an 401  authentication needed).</dd>
  74.  
  75.     <dt><code>-c <var>concurrency</var></code></dt>
  76.     <dd>Number of multiple requests to perform at a time. Default is one
  77.     request at a time.</dd>
  78.  
  79.     <dt><code>-C <var>cookie-name</var>=<var>value</var></code></dt>
  80.     <dd>Add a <code>Cookie:</code> line to the request. The  argument  is
  81.     typically in the form of a <code><var>name</var>=<var>value</var></code>
  82.     pair. This field is repeatable.</dd>
  83.  
  84.     <dt><code>-d</code></dt>
  85.     <dd>Do not display the "percentage served within XX [ms] table". (legacy
  86.     support).</dd>
  87.  
  88.     <dt><code>-e <var>csv-file</var></code></dt>
  89.     <dd>Write a Comma separated value (CSV) file which contains for each
  90.     percentage (from 1% to 100%) the time (in milliseconds) it took to serve
  91.     that percentage of the requests. This is usually more useful than the
  92.     'gnuplot' file; as the results are already 'binned'.</dd>
  93.  
  94.     <dt><code>-g <var>gnuplot-file</var></code></dt>
  95.     <dd>Write all measured values out as a 'gnuplot' or TSV (Tab separate
  96.     values) file. This file can easily be imported into packages like Gnuplot,
  97.     IDL, Mathematica, Igor or even Excel. The labels are on the first line of
  98.     the file. </dd>
  99.  
  100.     <dt><code>-h</code></dt>
  101.     <dd>Display usage information.</dd>
  102.  
  103.     <dt><code>-H <var>custom-header</var></code></dt>
  104.     <dd>Append extra headers to the request.  The  argument  is typically in
  105.     the form of a valid header line, containing a colon-separated field-value
  106.     pair (<em>i.e.</em>, <code>"Accept-Encoding: zip/zop;8bit"</code>).</dd>
  107.  
  108.     <dt><code>-i</code></dt>
  109.     <dd>Do <code>HEAD</code> requests instead of <code>GET</code>.</dd>
  110.  
  111.     <dt><code>-k</code></dt>
  112.     <dd>Enable the HTTP KeepAlive feature, <em>i.e.</em>, perform multiple
  113.     requests within one HTTP session. Default is no KeepAlive.</dd>
  114.  
  115.     <dt><code>-n <var>requests</var></code></dt>
  116.     <dd>Number of requests to perform for the benchmarking session. The default
  117.     is to just perform a single request which usually leads to
  118.     non-representative benchmarking results.</dd>
  119.  
  120.     <dt><code>-p <var>POST-file</var></code></dt>
  121.     <dd>File containing data to POST.</dd>
  122.  
  123.     <dt><code>-P <var>proxy-auth-username</var>:<var>password</var></code></dt>
  124.     <dd>Supply BASIC Authentication credentials to a proxy en-route. The
  125.     username and password are separated by a single <code>:</code> and sent on 
  126.     the  wire base64 encoded. The string is sent regardless of whether the
  127.     proxy needs it (<em>i.e.</em>, has  sent an 407 proxy authentication
  128.     needed).</dd>
  129.  
  130.     <dt><code>-q</code></dt>
  131.     <dd>When processing more than 150 requests, <code>ab</code> outputs a
  132.     progress count on <code>stderr</code> every 10% or 100 requests or so. The 
  133.     <code>-q</code> flag will suppress these messages.</dd>
  134.  
  135.     <dt><code>-s</code></dt>
  136.     <dd>When compiled in (<code>ab -h</code> will show you) use the SSL
  137.     protected <code>https</code> rather than the <code>http</code> protocol.
  138.     This feature is experimental and <em>very</em> rudimentary. You probably
  139.     do not want to use it.</dd>
  140.  
  141.     <dt><code>-S</code></dt>
  142.     <dd>Do not display the median and standard deviation values, nor display
  143.     the warning/error messages when the average and median are more than
  144.     one or two times the standard deviation apart. And default to the 
  145.     min/avg/max values. (legacy support).</dd>
  146.  
  147.     <dt><code>-t <var>timelimit</var></code></dt>
  148.     <dd>Maximum number of seconds to  spend  for  benchmarking. This implies a
  149.     <code>-n 50000</code> internally. Use this to benchmark the server within a
  150.     fixed total amount of time. Per default there is no timelimit.</dd>
  151.  
  152.     <dt><code>-T <var>content-type</var></code></dt>
  153.     <dd>Content-type header to use for POST data.</dd>
  154.  
  155.     <dt><code>-v <var>verbosity</var></code></dt>
  156.     <dd>Set verbosity level - <code>4</code> and above prints information on
  157.     headers, <code>3</code> and above prints response codes (404, 200, etc.),
  158.     <code>2</code> and above prints warnings and info.</dd>
  159.  
  160.     <dt><code>-V</code></dt>
  161.     <dd>Display version number and exit.</dd>
  162.  
  163.     <dt><code>-w</code></dt>
  164.     <dd>Print out results in HTML tables. Default table is two columns wide,
  165.     with a white background.</dd>
  166.  
  167.     <dt><code>-x <var><table>-attributes</var></code></dt>
  168.     <dd>String to use as attributes for <code><table></code>. Attributes
  169.     are inserted <code><table <var>here</var> ></code>.</dd>
  170.  
  171.     <dt><code>-X <var>proxy</var>[:<var>port</var>]</code></dt>
  172.     <dd>Use a proxy server for the requests.</dd>
  173.  
  174.     <dt><code>-y <var><tr>-attributes</var></code></dt>
  175.     <dd>String to use as attributes for <code><tr></code>.</dd>
  176.  
  177.     <dt><code>-z <var><td>-attributes</var></code></dt>
  178.     <dd>String to use as attributes for <code><td></code>.</dd>
  179.     </dl>
  180. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  181. <div class="section">
  182. <h2><a name="bugs" id="bugs">Bugs</a></h2>
  183.     <p>There are various statically declared buffers of fixed length. Combined
  184.     with the lazy parsing of the command line arguments, the response headers
  185.     from the server and other external inputs, this might bite you.</p>
  186.  
  187.     <p>It does not implement HTTP/1.x fully; only accepts some 'expected' forms
  188.     of responses. The rather heavy use of <code>strstr(3)</code> shows up top
  189.     in profile, which might indicate a performance problem; <em>i.e.</em>, you
  190.     would measure the <code>ab</code> performance rather than the server's.</p>
  191. </div></div>
  192. <div class="bottomlang">
  193. <p><span>Available Languages: </span><a href="../en/programs/ab.html" title="English"> en </a> |
  194. <a href="../ko/programs/ab.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  195. </div><div id="footer">
  196. <p class="apache">Copyright 2007 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>
  197. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
  198. </body></html>