X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=doc%2Fman%2Flttng-destroy.1.txt;fp=doc%2Fman%2Flttng-destroy.1.txt;h=d23d094ebf28c2ccd831b0a1224e76eea1613978;hp=0000000000000000000000000000000000000000;hb=7bf169bd18b92a75b0f0f1a412a83f39c934ac3e;hpb=ba50d9675100d0072fbeef9420db877fe09a3fa5 diff --git a/doc/man/lttng-destroy.1.txt b/doc/man/lttng-destroy.1.txt new file mode 100644 index 000000000..d23d094eb --- /dev/null +++ b/doc/man/lttng-destroy.1.txt @@ -0,0 +1,55 @@ +lttng-destroy(1) +=============== + + +NAME +---- +lttng-destroy - Destroy an LTTng tracing session + + +SYNOPSIS +-------- +[verse] +*lttng* ['GENERAL OPTIONS'] *destroy* [option:--all | 'SESSION'] + + +DESCRIPTION +----------- +The `lttng destroy` command destroys one or more tracing sessions. + +If no options are specified, the current tracing session is destroyed +(see linklttng:lttng-create(1) for more information about the current +tracing session). + +If 'SESSION' is specified, the existing tracing session named 'SESSION' +is destroyed. `lttng list` outputs all the existing tracing sessions +(see linklttng:lttng-list(1)). + +If the option:--all option is used, *all* the tracing sessions, as listed +in the output of `lttng list`, are destroyed. + +Destroying a tracing session stops any tracing running within the latter. + +Destroying a tracing session does not destroy the recorded trace data, +if any; it frees resources acquired by the session daemon and tracer +side, making sure to flush all trace data. + + +include::common-cmd-options-head.txt[] + + +option:-a, option:--all:: + Destroy all tracing sessions. + + +include::common-cmd-help-options.txt[] + + +include::common-cmd-footer.txt[] + + +SEE ALSO +-------- +linklttng:lttng-create(1), +linklttng:lttng-set-session(1), +linklttng:lttng(1)