Fix: rename config internal header to abi
[lttng-tools.git] / doc / man / lttng-relayd.8
CommitLineData
47851044
JD
1.TH "LTTNG-RELAYD" "8" "July 15, 2012" "" ""
2
3.SH "NAME"
4lttng-relayd \(em LTTng remote trace collection daemon
5
6.SH "SYNOPSIS"
7
8.PP
9.nf
10lttng-relayd [OPTIONS]
11.fi
12.SH "DESCRIPTION"
13
14.PP
15The LTTng project aims at providing highly efficient tracing tools for Linux.
16It's tracers help tracking down performance issues and debugging problems
17involving multiple concurrent processes and threads. Tracing across multiple
18systems is also possible.
19
fa91dc52
MD
20The relay daemon listens by default on all network interfaces to gather
21trace data, but only on localhost for viewer connections. This daemon
22does not require any particular permissions as long as it can write in
23the output folder and listen on the ports. If a user is within a secured
24network and/or has proper firewall settings, lttng-relayd can listen to
25viewer connections from all network interfaces by specifying '-L
26tcp://0.0.0.0:5344'.
27
28Traces can be either viewed "live" (as they are produced) by attaching
29to the live viewer port using LTTng live protocol, or after tracing has
30been stopped. Once a trace has been streamed completely, the trace can
31be processed by any tool that can process a local LTTng CTF trace.
47851044
JD
32
33By default, the relayd outputs the traces in :
34~/lttng-traces/hostname/session-name/domain-name
35
36The prefix (~/lttng-traces) can be configured on the relayd side (see below for
37the option), the other folders can be configured when creating the trace on the
38sessiond side.
39.SH "OPTIONS"
40
41.PP
42This program follow the usual GNU command line syntax with long options starting with
43two dashes. Below is a summary of the available options.
44.PP
45
46.TP
47.BR "-h, --help"
48Show summary of possible options and commands
49.TP
50.BR "-v, --verbose"
51Increase verbosity
52
53There is three debugging level which will print on stderr. Maximum verbosity is
54\fB-vvv\fP.
55.TP
56.BR "-d, --daemonize"
57Start as a daemon
58.TP
b5218ffb
MD
59.BR "-b, --background"
60Start as a daemon, keeping console open
61.TP
0210bba2
DG
62.BR "-g, --group NAME"
63Specify the tracing group name. (default: tracing)
64.TP
47851044 65.BR "-C, --control-port"
994fa64f 66Control port URL (tcp://0.0.0.0:5342 is the default)
47851044
JD
67.TP
68.BR "-D, --data-port"
994fa64f 69Data port URL (tcp://0.0.0.0:5343 is the default)
47851044 70.TP
8d5c808e 71.BR "-L, --live-port URL"
fa91dc52 72Live view port URL (tcp://localhost:5344 is the default).
8d5c808e 73.TP
47851044 74.BR "-o, --output"
994fa64f 75Output base directory. Must use an absolute path (~/lttng-traces is the default)
47851044
JD
76.TP
77.BR "-V, --version"
78Show version number
554831e7
MD
79.SH "ENVIRONMENT VARIABLES"
80
81.PP
82.IP "LTTNG_NETWORK_SOCKET_TIMEOUT"
83Control timeout of socket connection, receive and send. Takes an integer
84parameter: the timeout value, in milliseconds. A value of 0 or -1 uses
85the timeout of the operating system (this is the default).
094fe907
MD
86.IP "LTTNG_RELAYD_HEALTH"
87File path used for relay daemon health check communication.
554831e7
MD
88.PP
89
47851044
JD
90.SH "SEE ALSO"
91
92.PP
93babeltrace(1), lttng-sessiond(8), lttng-ust(3), lttng(1)
94.PP
95
96.SH "LIMITATIONS"
97
98.PP
99For now only TCP is supported on both control and data port.
100Control will always remain TCP-only since it is low-volume and needs absolutely
101to be reliable, but eventually the data connection could support UDP.
102
103For unprivileged user running lttng-relayd, the maximum number of file
104descriptors per process is usually 1024. This limits the number of connections
105and tracefiles opened. This limit can be configured see ulimit(3).
106.PP
107
108.SH "BUGS"
109
110.PP
111No show stopper bugs are known yet in this version.
112
113If you encounter any issues or usability problem, please report it on our
114mailing list <lttng-dev@lists.lttng.org> to help improve this project.
115.SH "CREDITS"
116
117.PP
118lttng-relayd is distributed under the GNU General Public License version 2. See the
119file COPYING for details.
120.PP
121A Web site is available at http://lttng.org for more information on the LTTng
122project.
123.PP
124You can also find our git tree at http://git.lttng.org.
125.PP
126Mailing lists for support and development: <lttng-dev@lists.lttng.org>.
127.PP
128You can find us on IRC server irc.oftc.net (OFTC) in #lttng.
129.PP
130.SH "AUTHORS"
131
132.PP
133lttng-relay was originally written by Julien Desfossez and
134David Goulet. More people have since contributed to it. It is currently
135maintained by Julien Desfossez <jdesfossez@efficios.com>.
136.PP
This page took 0.030783 seconds and 4 git commands to generate.