doc/man: use specific revision date for each manual page
[lttng-tools.git] / doc / man / lttng-stop.1.txt
CommitLineData
fb58d659
PP
1lttng-stop(1)
2=============
4605890e 3:revdate: 18 January 2018
fb58d659
PP
4
5
6NAME
7----
8lttng-stop - Stop LTTng tracers
9
10
11SYNOPSIS
12--------
13[verse]
ce19b9ed 14*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *stop* [option:--no-wait] ['SESSION']
fb58d659
PP
15
16
17DESCRIPTION
18-----------
19The `lttng stop` command stops the various LTTng tracers for a given
20active tracing session.
21
5de63f6d 22Stopping the LTTng tracers has the effect that all enabled event rules
fb58d659
PP
23within enabled channels cannot make event sources _emit_ trace events
24anymore.
25
26A tracing session with no running tracers is said to be _inactive_.
27Inactive tracing sessions can be set active using the
7c1a4458 28man:lttng-start(1) command.
fb58d659
PP
29
30If 'SESSION' is omitted, the LTTng tracers are stopped for the current
7c1a4458 31tracing session (see man:lttng-create(1) for more information
fb58d659
PP
32about the current tracing session). Otherwise, they are stopped for the
33existing tracing session named 'SESSION'. `lttng list`
7c1a4458 34outputs all the existing tracing sessions (see man:lttng-list(1)).
fb58d659
PP
35
36By default, the `lttng stop` command ensures that the tracing session's
37trace data is valid before returning to the prompt. With the
38option:--no-wait option, the command finishes immediately, hence a local
39trace might not be valid when the command is done. In this case, there
40is no way to know when the trace becomes valid.
41
980bb5fd
PP
42If at least one rotation occurred during the chosen tracing session's
43lifetime (see man:lttng-rotate(1) and man:lttng-enable-rotation(1)), the
44`lttng stop` command renames the current trace chunk subdirectory and
45prints the renamed path. Although it is safe to read the content of this
46renamed subdirectory while the tracing session remains inactive (until
47the next man:lttng-start(1)), it is :not: a trace chunk archive: you
48need to destroy the tracing session with man:lttng-destroy(1) or make
49a rotation with man:lttng-rotate(1) to archive it.
50
fb58d659
PP
51
52include::common-cmd-options-head.txt[]
53
54
55option:-n, option:--no-wait::
5dd0d9a5
PP
56 Do not ensure that the chosen tracing session's trace data is valid
57 before returning to the prompt.
fb58d659
PP
58
59
60include::common-cmd-help-options.txt[]
61
62
63include::common-cmd-footer.txt[]
64
65
66SEE ALSO
67--------
7c1a4458
PP
68man:lttng-start(1),
69man:lttng(1)
This page took 0.030133 seconds and 4 git commands to generate.