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