doc/man: add linkgenoptions AsciiDoc macro
[lttng-tools.git] / doc / man / lttng-destroy.1.txt
CommitLineData
7bf169bd
PP
1lttng-destroy(1)
2===============
3
4
5NAME
6----
7lttng-destroy - Destroy an LTTng tracing session
8
9
10SYNOPSIS
11--------
12[verse]
13*lttng* ['GENERAL OPTIONS'] *destroy* [option:--all | 'SESSION']
14
15
16DESCRIPTION
17-----------
18The `lttng destroy` command destroys one or more tracing sessions.
19
20If no options are specified, the current tracing session is destroyed
21(see linklttng:lttng-create(1) for more information about the current
22tracing session).
23
24If 'SESSION' is specified, the existing tracing session named 'SESSION'
25is destroyed. `lttng list` outputs all the existing tracing sessions
26(see linklttng:lttng-list(1)).
27
28If the option:--all option is used, *all* the tracing sessions, as listed
29in the output of `lttng list`, are destroyed.
30
31Destroying a tracing session stops any tracing running within the latter.
32
33Destroying a tracing session does not destroy the recorded trace data,
34if any; it frees resources acquired by the session daemon and tracer
35side, making sure to flush all trace data.
36
37
38include::common-cmd-options-head.txt[]
39
40
41option:-a, option:--all::
42 Destroy all tracing sessions.
43
44
45include::common-cmd-help-options.txt[]
46
47
48include::common-cmd-footer.txt[]
49
50
51SEE ALSO
52--------
53linklttng:lttng-create(1),
54linklttng:lttng-set-session(1),
55linklttng:lttng(1)
This page took 0.02611 seconds and 4 git commands to generate.