SYNOPSIS
--------
[verse]
-*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *destroy* [option:--no-wait] [option:--all | 'SESSION']
+*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *destroy* [option:--no-wait] [option:--all | option:--glob 'SESSION' | 'SESSION']
DESCRIPTION
man:lttng-list(1), instead of the current recording session or the
recording session named 'SESSION'.
+option:-g, option:--glob::
+ Interpret SESSION as a globbing pattern.
+
option:-n, option:--no-wait::
Do :not: ensure that the trace data of the recording session(s) to
destroy is valid before exiting.
----
====
+.Destroy all recording sessions with the suffix foo.
+====
+See the option:--glob option.
+
+[role="term"]
+----
+$ lttng destroy --global '*foo'
+----
+====
+
include::common-footer.txt[]