-n requests | Number of requests to perform for the benchmarking session. | help + man |
-c concurrency | Number of multiple requests to perform at a time. | help + man |
-t timelimit | Maximum number of seconds to spend for benchmarking. | help + man |
-s timeout | Maximum number of seconds to wait before the socket times out. | help + man |
-b windowsize | Size of TCP send/receive buffer, in bytes. | help + man |
-B address | Address to bind to when making outgoing connections. | help + man |
-p postfile | File containing data to POST. | help + man |
-u putfile | File containing data to PUT. | help + man |
-v verbosity | Set verbosity level - 4 and above prints information on headers, 3 and above prints response codes (404, 200, etc.), 2 and above prints warnings and info. | help + man |
-w | Print out results in HTML tables. | help + man |
-i | Do HEAD requests instead of GET. | help + man |
-x attributes | String to use as attributes for <table>. | help + man |
-y attributes | String to use as attributes for <tr>. | help + man |
-z attributes | String to insert as td or th attributes | help + man |
-C attribute | Add a Cookie: line to the request. | help + man |
-H attribute | Append extra headers to the request. | help + man |
-A attribute | Add Basic WWW Authentication, the attributes are a colon separated username and password. | help + man |
-P attribute | Add Basic Proxy Authentication, the attributes are a colon separated username and password. | help + man |
-X proxy:port | Proxyserver and port number to use | help |
-V | Display version number and exit. | help + man |
-k | Enable the HTTP KeepAlive feature, i.e., perform multiple requests within one HTTP session. | help + man |
-d | Do not display the "percentage served within XX [ms] table". | help + man |
-S | Do not display the median and standard deviation values, nor display the warning/error messages when the average and median are more than one or two times the standard deviation apart. | help + man |
-q | When processing more than 150 requests, ab outputs a progress count on stderr every 10% or 100 requests or so. | help + man |
-l | Do not report errors if the length of the responses is not constant. | help + man |
-g filename | Write all measured values out as a 'gnuplot' or TSV (Tab separate values) file. | help + man |
-e filename | Write a Comma separated value (CSV) file which contains for each percentage (from 1% to 100%) the time (in milliseconds) it took to serve that percentage of the requests. | help + man |
-r | Don't exit on socket receive errors. | help + man |
-m method | Custom HTTP method for the requests. | help + man |
-h | Display usage information (this message) | help + man |
-I | Disable TLS Server Name Indication (SNI) extension | help |
-Z ciphersuite | Specify SSL/TLS cipher suite (See openssl ciphers) | help + man |
-f protocol | Specify SSL/TLS protocol (SSL2, SSL3, TLS1, TLS1.1, TLS1.2, TLS1.3 or ALL) | help + man |
-E certfile | When connecting to an SSL website, use the provided client certificate in PEM format to authenticate with the server. | help + man |
-T content-type | Content-type header to use for POST/PUT data, eg. (in the manual page but not in --help) | man |