Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v1.2.2
Fetching contributors…

Cannot retrieve contributors at this time

file 101 lines (98 sloc) 3.37 kb
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
.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng <steve@ggi-project.org>.
.TH "TSUNG" "1" "30 janvier 2008" "" ""

.SH NAME
tsung \- A distributed multi-protocol load testing tool.
.SH SYNOPSIS

\fBtsung\fR [ \fB-f configuration file\fR ] [ \fB-l log file\fR ] [ \fB-r command\fR ] [ \fB-p plugin\fR ] [ \fB-L listen port\fR ] [ \fB-I IP\fR ] [ \fB-P port\fR ] [ \fB-u \fR ] [ \fBstart|stop|restart|debug|status|recorder|record_tag|stop_recorder\fR ]

.SH "DESCRIPTION"
.PP
\fBtsung\fR is a distributed load testing
tool. It is protocol-independent and can currently be used to
stress and benchmark HTTP, PostgreSQL and Jabber servers.
.PP
It simulates user behaviour using an XML description file,
reports many measurements in real time (statistics can be
customized with transactions, and graphics generated using
gnuplot).
.PP
For HTTP, it supports 1.0 and 1.1, has a proxy mode to
record sessions, supports GET and POST methods, Cookies, and Basic
WWW-authentication. It also has support for SSL.
.PP
There are two applications builtin with this script: the load testing tool, and the proxy recorder.
.PP
Several config examples can be found in
\fI/usr/share/doc/tsung/examples/\fR\&.
.TP
\fBstart\fR
start tsung load testing
.TP
\fBdebug\fR
start tsung with an erlang shell
.TP
\fBstop\fR
stop tsung
.TP
\fBrecorder\fR
start the proxy recorder (listening port is 8090). By default the HTTP recorder is started. With the -p option, you can select another plugin. The resulting files will be created as \fI~/.tsung/tsung_recorderYYYMMDD-HH:MM.xml\fR; if it doesn't work, take a look at \fI~/.tsung/log/tsung.log-tsunami_recorder@hostname\fR
.TP
\fBstop_recorder\fR
stop the proxy recorder
.TP
\fBstatus\fR
print current status of tsung
.TP
\fBrecord_tag value\fR
add a string (comment or tag) while recording a
session. This is useful for example to add transaction tag
while recording a session.
.SH "MANUAL"
.PP
A manual should be available at
\fI/usr/share/doc/tsung/user_manual.html\fR\&. It
is also available online at
http://tsung.erlang-projects.org/user_manual.html
.SH "OPTIONS"
.TP
\fB-f\fR
specifies the configuration file to use. The default file name is \fI~/.tsung/tsung.xml\fR
.TP
\fB-l\fR
Specifies the log file to use. The default log file name is \fI~/tsung/log/tsung.log\fR
.TP
\fB-r\fR
Specifies an alternative to ssh (rsh for ex.) for starting a slave node on a remote host
.TP
\fB-p\fR
Specifies the plugin used for the recorder. Default is http, available: http, pgsql
.TP
\fB-L\fR
Listening port for the recorder. Default is 8090
.TP
\fB-I\fR
For the pgsql recorder (or parent proxy): server IP. default is 127.0.0.1
.TP
\fB-P\fR
For the pgsql recorder (or parent proxy): server port. Default is 5432
.TP
\fB-u\fR
For the http recorder: use a parent proxy
.SH "BUGS"
.PP
Please reports bugs to the mailing list
<tsung-users@process-one.net>, see
https://lists.process-one.net/mailman/listinfo/tsung-users for
archives.
.SH "SEE ALSO"
.PP
\fIerlang\fR(3)
.SH "AUTHORS"
.PP
\fBTsung\fR is written by Nicolas Niclausse
<nicolas@niclux.org>\&. Contributors list
is available in
\fI/usr/share/doc/tsung/CONTRIBUTORS\fR
Something went wrong with that request. Please try again.