Import CStringView from the Babeltrace tree
[lttng-tools.git] / doc / man / lttng-start.1.txt
... / ...
CommitLineData
1lttng-start(1)
2==============
3:revdate: 14 June 2021
4
5
6NAME
7----
8lttng-start - Start an LTTng recording session
9
10
11SYNOPSIS
12--------
13[verse]
14*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *start* [option::--all | option::--glob 'SESSION' | 'SESSION' ]
15
16
17DESCRIPTION
18-----------
19The `lttng start` command starts a recording session, that is, it
20activates the LTTng tracers for:
21
22With the 'SESSION' argument::
23 The recording session named 'SESSION'.
24
25Without the 'SESSION' argument::
26 The current recording session (see man:lttng-concepts(7) to learn
27 more about the current recording session).
28
29See man:lttng-concepts(7) to learn more about recording sessions.
30
31The selected recording session must be inactive (stopped). A recording
32session is inactive on creation (see man:lttng-create(1)).
33
34A `start-session` trigger action can also start a recording session
35(see man:lttng-add-trigger(1)).
36
37See the ``<<examples,EXAMPLES>>'' section below for usage examples.
38
39Stop an active recording session with the man:lttng-stop(1) command.
40
41
42include::common-lttng-cmd-options-head.txt[]
43
44
45include::common-lttng-cmd-help-options.txt[]
46
47option:-a, option:--all::
48 Start all sessions.
49
50option:-g, option:--glob::
51 Interpret SESSION as a globbing pattern.
52
53include::common-lttng-cmd-after-options.txt[]
54
55
56[[examples]]
57EXAMPLES
58--------
59.Start the current recording session.
60====
61[role="term"]
62----
63$ lttng start
64----
65====
66
67.Start a specific recording session.
68====
69[role="term"]
70----
71$ lttng start my-session
72----
73====
74
75.Start all sessions.
76====
77See the option::--all option.
78
79[role="term"]
80----
81$ lttng start --all
82----
83====
84
85.Start all sessions with the suffix foo.
86====
87See the option::--glob option.
88
89[role="term"]
90----
91$ lttng start --glob '*foo'
92----
93====
94
95
96include::common-footer.txt[]
97
98
99SEE ALSO
100--------
101man:lttng(1),
102man:lttng-add-trigger(1),
103man:lttng-create(1),
104man:lttng-enable-event(1),
105man:lttng-stop(1),
106man:lttng-concepts(7)
This page took 0.023784 seconds and 5 git commands to generate.