Doc: lttng-clear(8) man page
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 11 Feb 2019 17:19:58 +0000 (12:19 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 Dec 2019 00:10:29 +0000 (19:10 -0500)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: I6d981a1e17a2a3fdd20a4c61b8c2216bc6517f3f
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
doc/man/Makefile.am
doc/man/lttng-clear.1.txt [new file with mode: 0644]

index ccd76f74605e9907b14411a147b3fc24ab975d61..552b0888d5f1f8d9cde8fa4712dad4bc0bc51d53 100644 (file)
@@ -33,7 +33,8 @@ MAN1_NAMES = \
        lttng-regenerate \
        lttng-rotate \
        lttng-enable-rotation \
-       lttng-disable-rotation
+       lttng-disable-rotation \
+       lttng-clear
 MAN3_NAMES =
 MAN8_NAMES = lttng-sessiond lttng-relayd
 MAN1_NO_ASCIIDOC_NAMES =
diff --git a/doc/man/lttng-clear.1.txt b/doc/man/lttng-clear.1.txt
new file mode 100644 (file)
index 0000000..8b63d6c
--- /dev/null
@@ -0,0 +1,58 @@
+lttng-clear(1)
+===============
+:revdate: 6 November 2019
+
+NAME
+----
+lttng-clear - Clear a tracing session
+
+
+SYNOPSIS
+--------
+[verse]
+*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *clear* [option:--all | 'SESSION']
+
+
+DESCRIPTION
+-----------
+The `lttng clear` command clears one or more tracing sessions.
+
+If no options are specified, the current tracing session is cleared
+(see man:lttng-create(1) for more information about the current
+tracing session).
+
+If 'SESSION' is specified, the existing tracing session named 'SESSION'
+is cleared.
+
+If the option:--all option is used, *all* the tracing sessions, as listed
+in the output of `lttng list`, are cleared.
+
+Clearing a tracing session deletes the contents of the tracing buffers and
+all local or streamed trace data.
+
+If a session is configured in snapshot mode, only the tracing buffers are cleared.
+
+If at least one rotation occurred, only the tracing buffers and the current
+trace chunks are cleared. Previous trace chunks are not cleared.
+
+Note that a lttng-relayd daemon can be configured to disallow clear operations
+using LTTNG_RELAYD_DISALLOW_CLEAR. Clear commands performed on a streaming
+session utilizing such lttng-relayd daemon will fail.
+
+include::common-cmd-options-head.txt[]
+
+
+option:-a, option:--all::
+    Clear all tracing sessions.
+
+include::common-cmd-help-options.txt[]
+
+
+include::common-cmd-footer.txt[]
+
+
+SEE ALSO
+--------
+man:lttng-rotate(1),
+man:lttng-set-session(1),
+man:lttng(1)
This page took 0.0257 seconds and 4 git commands to generate.