Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: If16dcd4197c6af734b1147c9463ae2255b0a1c1f
lttng-destroy(1)
================
lttng-destroy(1)
================
command exits. In other words, it's safe to read them, modify them, move
them, or remove then.
command exits. In other words, it's safe to read them, modify them, move
them, or remove then.
+See the <<examples,EXAMPLES>> section below for usage examples.
+
include::common-lttng-cmd-options-head.txt[]
include::common-lttng-cmd-options-head.txt[]
include::common-lttng-cmd-after-options.txt[]
include::common-lttng-cmd-after-options.txt[]
+[[examples]]
+EXAMPLES
+--------
+.Destroy the current tracing session.
+====
+[role="term"]
+----
+$ lttng destroy
+----
+====
+
+.Destroy the current tracing session without waiting for completion.
+====
+See the option:--no-wait option.
+
+[role="term"]
+----
+$ lttng destroy --no-wait
+----
+====
+
+.Destroy a specific tracing session.
+====
+[role="term"]
+----
+$ lttng destroy my-session
+----
+====
+
+.Destroy all tracing sessions.
+====
+See the option:--all option.
+
+[role="term"]
+----
+$ lttng destroy --all
+----
+====
+
+
include::common-footer.txt[]
include::common-footer.txt[]