From: Philippe Proulx Date: Mon, 17 May 2021 18:09:54 +0000 (-0400) Subject: lttng-disable-rotation(1): add usage examples X-Git-Tag: v2.13.0-rc3~108 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6d6c9e1d11062313f295dbaef6ea4d86042e66b1;p=lttng-tools.git lttng-disable-rotation(1): add usage examples Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau Change-Id: I24f132858c12fa4e99b8a24baee9e8becf0d73f8 --- diff --git a/doc/man/lttng-disable-rotation.1.txt b/doc/man/lttng-disable-rotation.1.txt index 8b68ded7a..c28d699d2 100644 --- a/doc/man/lttng-disable-rotation.1.txt +++ b/doc/man/lttng-disable-rotation.1.txt @@ -1,6 +1,6 @@ lttng-disable-rotation(1) ========================= -:revdate: 30 April 2021 +:revdate: 17 May 2021 NAME @@ -30,6 +30,8 @@ Without the option:--session option:: See man:lttng-concepts(7) to learn more about the tracing session rotation and trace chunk concepts. +See the <> section below for usage examples. + include::common-lttng-cmd-options-head.txt[] @@ -58,6 +60,30 @@ include::common-lttng-cmd-help-options.txt[] include::common-lttng-cmd-after-options.txt[] +[[examples]] +EXAMPLES +-------- +.Unset the size-based rotation schedule of the current tracing session. +==== +See the option:--size option. + +[role="term"] +---- +$ lttng disable-rotation --size +---- +==== + +.Unset the periodic rotation schedule of a specific tracing session. +==== +See the option:--timer and option:--session options. + +[role="term"] +---- +$ lttng disable-rotation --session=my-session --timer +---- +==== + + include::common-footer.txt[]