1LTTNG-START(1)                   LTTng Manual                   LTTNG-START(1)
2
3
4

NAME

6       lttng-start - Start LTTng tracers
7

SYNOPSIS

9       lttng [GENERAL OPTIONS] start [SESSION]
10

DESCRIPTION

12       The lttng start command starts the various LTTng tracers for a given
13       inactive tracing session.
14
15       Starting the LTTng tracers has the effect that all enabled event rules
16       within enabled channels can make their target event sources emit trace
17       events. Whether they are recorded to the local file system, sent over
18       the network, or not recorded at all depends on the specific
19       configuration of the tracing session in which tracing is started. See
20       lttng-create(1) for different session modes.
21
22       A tracing session with running tracers is said to be active. Active
23       tracing sessions can return to the inactive state using the lttng-
24       stop(1) command.
25
26       If SESSION is omitted, the LTTng tracers are started for the current
27       tracing session (see lttng-create(1) for more information about the
28       current tracing session). Otherwise, they are started for the existing
29       tracing session named SESSION. lttng list outputs all the existing
30       tracing sessions (see lttng-list(1)).
31

OPTIONS

33       General options are described in lttng(1).
34
35   Program information
36       -h, --help
37           Show command help.
38
39           This option, like lttng-help(1), attempts to launch /usr/bin/man to
40           view the command’s man page. The path to the man pager can be
41           overridden by the LTTNG_MAN_BIN_PATH environment variable.
42
43       --list-options
44           List available command options.
45

ENVIRONMENT VARIABLES

47       LTTNG_ABORT_ON_ERROR
48           Set to 1 to abort the process after the first error is encountered.
49
50       LTTNG_HOME
51           Overrides the $HOME environment variable. Useful when the user
52           running the commands has a non-writable home directory.
53
54       LTTNG_MAN_BIN_PATH
55           Absolute path to the man pager to use for viewing help information
56           about LTTng commands (using lttng-help(1) or lttng COMMAND --help).
57
58       LTTNG_SESSION_CONFIG_XSD_PATH
59           Path in which the session.xsd session configuration XML schema may
60           be found.
61
62       LTTNG_SESSIOND_PATH
63           Full session daemon binary path.
64
65           The --sessiond-path option has precedence over this environment
66           variable.
67
68       Note that the lttng-create(1) command can spawn an LTTng session daemon
69       automatically if none is running. See lttng-sessiond(8) for the
70       environment variables influencing the execution of the session daemon.
71

FILES

73       $LTTNG_HOME/.lttngrc
74           User LTTng runtime configuration.
75
76           This is where the per-user current tracing session is stored
77           between executions of lttng(1). The current tracing session can be
78           set with lttng-set-session(1). See lttng-create(1) for more
79           information about tracing sessions.
80
81       $LTTNG_HOME/lttng-traces
82           Default output directory of LTTng traces. This can be overridden
83           with the --output option of the lttng-create(1) command.
84
85       $LTTNG_HOME/.lttng
86           User LTTng runtime and configuration directory.
87
88       $LTTNG_HOME/.lttng/sessions
89           Default location of saved user tracing sessions (see lttng-save(1)
90           and lttng-load(1)).
91
92       /usr/local/etc/lttng/sessions
93           System-wide location of saved tracing sessions (see lttng-save(1)
94           and lttng-load(1)).
95
96           Note
97           $LTTNG_HOME defaults to $HOME when not explicitly set.
98

EXIT STATUS

100       0
101           Success
102
103       1
104           Command error
105
106       2
107           Undefined command
108
109       3
110           Fatal error
111
112       4
113           Command warning (something went wrong during the command)
114

BUGS

116       If you encounter any issue or usability problem, please report it on
117       the LTTng bug tracker <https://bugs.lttng.org/projects/lttng-tools>.
118

RESOURCES

120       •   LTTng project website <https://lttng.org>
121
122       •   LTTng documentation <https://lttng.org/docs>
123
124       •   Git repositories <http://git.lttng.org>
125
126       •   GitHub organization <http://github.com/lttng>
127
128       •   Continuous integration <http://ci.lttng.org/>
129
130       •   Mailing list <http://lists.lttng.org> for support and development:
131           lttng-dev@lists.lttng.org
132
133       •   IRC channel <irc://irc.oftc.net/lttng>: #lttng on irc.oftc.net
134

COPYRIGHTS

136       This program is part of the LTTng-tools project.
137
138       LTTng-tools is distributed under the GNU General Public License version
139       2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>. See the
140       LICENSE <https://github.com/lttng/lttng-tools/blob/master/LICENSE> file
141       for details.
142

THANKS

144       Special thanks to Michel Dagenais and the DORSAL laboratory
145       <http://www.dorsal.polymtl.ca/> at École Polytechnique de Montréal for
146       the LTTng journey.
147
148       Also thanks to the Ericsson teams working on tracing which helped us
149       greatly with detailed bug reports and unusual test cases.
150

SEE ALSO

152       lttng-stop(1), lttng(1)
153
154
155
156LTTng 2.12.4                     7 April 2016                   LTTNG-START(1)
Impressum