瀏覽代碼

Adding idleconn manpage

ahc_fix_select
Joao Eriberto Mota Filho 8 年之前
父節點
當前提交
f6a3689e18
共有 2 個檔案被更改,包括 55 行新增1 行删除
  1. +1
    -1
      man/Makefile.am
  2. +54
    -0
      man/idleconn.1

+ 1
- 1
man/Makefile.am 查看文件

@@ -1,2 +1,2 @@
man_MANS = httperf.1
man_MANS = httperf.1 idleconn.1
EXTRA_DIST = $(man_MANS)

+ 54
- 0
man/idleconn.1 查看文件

@@ -0,0 +1,54 @@
.TH idleconn "1" "Mar 2016" "IDLECONN 0.9.0" "tool for opening any number of idle connections"
.\" Text automatically generated by txt2man
.SH NAME
\fBidleconn \fP- tool for opening any number of idle connections
\fB
.SH SYNOPSIS
.nf
.fam C
\fBidleconn\fP <server> <port> <numidle>

.fam T
.fi
.fam T
.fi
.SH DESCRIPTION
\fBidleconn\fP is part of httperf suite and is useful to simulate a large number
of concurrent and idle connections. It can establish a set of persistent
connections, each of which generated periodic requests to the server. The
effect is that at all times, some of the connections were active while the
rest were idle, and these active and idle connection sets kept changing with
time. (This paragraph was extracted and adapted from the article "Scalability
of Linux Event-Dispatch Mechanisms" (HPL-2000-174), written by Abhishek
Chandra and David Mosberger).
.SH OPTIONS
.TP
.B
server
IP of the server to connect.
.TP
.B
port
Port used by server.
.TP
.B
numidle
Number of idle process to be generated.
.SH EXAMPLE
This is a simple example how to use \fBidleconn\fP:
.PP
.nf
.fam C
$ ./idleconn 192.168.1.1 80 100

.fam T
.fi
It would open and maintain 100 idle connections to a web server, listening on
port 80, using the IP address 192.168.1.1.
.SH SEE ALSO
\fBhttperf\fP(1)
.SH AUTHOR
The httperf was written by David Mosberger-Tang, Hewlett-Packard Company and Contributors.
.PP
This manual page was written by Joao Eriberto Mota Filho <eriberto@debian.org>
for the Debian project (but may be used by others).

Loading…
取消
儲存