2014-10-14 16:30:44 +02:00
|
|
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4.
|
2014-12-06 15:03:50 +01:00
|
|
|
.TH H2LOAD "1" "December 2014" "h2load nghttp2/0.6.8-DEV" "User Commands"
|
2014-05-09 17:34:56 +02:00
|
|
|
.SH NAME
|
|
|
|
h2load \- HTTP/2 benchmarking tool
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B h2load
|
2014-10-27 16:35:44 +01:00
|
|
|
[\fI\,OPTIONS\/\fR]... [\fI\,URI\/\fR]...
|
2014-05-09 17:34:56 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
benchmarking tool for HTTP/2 and SPDY server
|
|
|
|
.TP
|
|
|
|
<URI>
|
|
|
|
Specify URI to access. Multiple URIs can be
|
|
|
|
specified. URIs are used in this order for each
|
|
|
|
client. All URIs are used, then first URI is
|
|
|
|
used and then 2nd URI, and so on. The scheme,
|
|
|
|
host and port in the subsequent URIs, if present,
|
|
|
|
are ignored. Those in the first URI are used
|
|
|
|
solely.
|
|
|
|
.SH OPTIONS
|
|
|
|
.HP
|
|
|
|
\fB\-n\fR, \fB\-\-requests=\fR<N> Number of requests. Default: 1
|
|
|
|
.TP
|
|
|
|
\fB\-c\fR, \fB\-\-clients=\fR<N>
|
|
|
|
Number of concurrent clients. Default: 1
|
|
|
|
.TP
|
|
|
|
\fB\-t\fR, \fB\-\-threads=\fR<N>
|
|
|
|
Number of native threads. Default: 1
|
|
|
|
.TP
|
2014-10-27 16:35:44 +01:00
|
|
|
\fB\-i\fR, \fB\-\-input\-file=\fR<FILE>
|
|
|
|
Path of a file with multiple URIs are seperated
|
|
|
|
by EOLs. This option will disable URIs getting
|
|
|
|
from command\-line. If '\-' is given as <FILE>,
|
|
|
|
URIs will be read from stdin. URIs are used in
|
|
|
|
this order for each client. All URIs are used,
|
|
|
|
then first URI is used and then 2nd URI, and so
|
|
|
|
on. The scheme, host and port in the subsequent
|
|
|
|
URIs, if present, are ignored. Those in the
|
|
|
|
first URI are used solely.
|
|
|
|
.TP
|
2014-05-09 17:34:56 +02:00
|
|
|
\fB\-m\fR, \fB\-\-max\-concurrent\-streams=\fR(auto|<N>)
|
|
|
|
Max concurrent streams to issue per session. If
|
|
|
|
"auto" is given, the number of given URIs is
|
|
|
|
used. Default: auto
|
|
|
|
.TP
|
|
|
|
\fB\-w\fR, \fB\-\-window\-bits=\fR<N>
|
|
|
|
Sets the stream level initial window size to
|
|
|
|
(2**<N>)\-1. For SPDY, 2**<N> is used instead.
|
|
|
|
.TP
|
|
|
|
\fB\-W\fR, \fB\-\-connection\-window\-bits=\fR<N>
|
|
|
|
Sets the connection level initial window size to
|
|
|
|
(2**<N>)\-1. For SPDY, if <N> is strictly less
|
|
|
|
than 16, this option is ignored. Otherwise
|
|
|
|
2**<N> is used for SPDY.
|
|
|
|
.TP
|
2014-10-27 16:35:44 +01:00
|
|
|
\fB\-H\fR, \fB\-\-header=\fR<HEADER>
|
|
|
|
Add/Override a header to the requests.
|
|
|
|
.TP
|
2014-05-09 17:34:56 +02:00
|
|
|
\fB\-p\fR, \fB\-\-no\-tls\-proto=\fR<PROTOID>
|
|
|
|
Specify ALPN identifier of the protocol to be
|
|
|
|
used when accessing http URI without SSL/TLS.
|
|
|
|
Available protocols: spdy/2, spdy/3, spdy/3.1 and
|
2014-08-16 15:54:15 +02:00
|
|
|
h2c\-14
|
|
|
|
Default: h2c\-14
|
2014-05-09 17:34:56 +02:00
|
|
|
.TP
|
|
|
|
\fB\-v\fR, \fB\-\-verbose\fR
|
|
|
|
Output debug information.
|
|
|
|
.TP
|
|
|
|
\fB\-\-version\fR
|
|
|
|
Display version information and exit.
|
|
|
|
.TP
|
|
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
|
|
Display this help and exit.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
|
|
|
|
nghttp(1), nghttpd(1), nghttpx(1)
|