X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=doc%2Fman%2Flttng-stop.1.txt;fp=doc%2Fman%2Flttng-stop.1.txt;h=d0371c74d8ee9cd7aadfe703317075c3a3d2521d;hp=9b1907c61127910802766bfda37707df476641ed;hb=4182cfea302ab5c0233d45433e7dc85697c4016d;hpb=29545453559d2de44bf3a6ea731c1cc48a6dd97f diff --git a/doc/man/lttng-stop.1.txt b/doc/man/lttng-stop.1.txt index 9b1907c61..d0371c74d 100644 --- a/doc/man/lttng-stop.1.txt +++ b/doc/man/lttng-stop.1.txt @@ -1,6 +1,6 @@ lttng-stop(1) ============= -:revdate: 29 April 2021 +:revdate: 17 May 2021 NAME @@ -52,6 +52,8 @@ remains inactive, it's :not: a trace chunk archive: you need to destroy the tracing session with man:lttng-destroy(1) or perform a rotation with man:lttng-rotate(1) to archive it. +See the <> section below for usage examples. + include::common-lttng-cmd-options-head.txt[] @@ -67,6 +69,36 @@ include::common-lttng-cmd-help-options.txt[] include::common-lttng-cmd-after-options.txt[] +[[examples]] +EXAMPLES +-------- +.Stop the current tracing session. +==== +[role="term"] +---- +$ lttng stop +---- +==== + +.Stop a specific tracing session. +==== +[role="term"] +---- +$ lttng stop my-session +---- +==== + +.Stop the current tracing session without waiting for completion. +==== +See the option:--no-wait option. + +[role="term"] +---- +$ lttng stop --no-wait +---- +==== + + include::common-footer.txt[]