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