X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=doc%2Fman%2Flttng-stop.1.txt;h=d0371c74d8ee9cd7aadfe703317075c3a3d2521d;hb=477f8971ee912cfb3f0c2ffb3aa2bffc81514cbe;hp=c6f63c36c75e25cd3897b59407c8f5b5420dfa9a;hpb=188419c4eee5d623605d6c7bd797c18ae8564647;p=lttng-tools.git diff --git a/doc/man/lttng-stop.1.txt b/doc/man/lttng-stop.1.txt index c6f63c36c..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,8 +52,10 @@ 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-cmd-options-head.txt[] + +include::common-lttng-cmd-options-head.txt[] option:-n, option:--no-wait:: @@ -61,18 +63,51 @@ option:-n, option:--no-wait:: is valid before exiting. -include::common-cmd-help-options.txt[] +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-cmd-footer.txt[] +include::common-footer.txt[] SEE ALSO -------- man:lttng(1), man:lttng-add-trigger(1), -man:lttng-concepts(7), man:lttng-create(1), man:lttng-enable-event(1), man:lttng-rotate(1), -man:lttng-start(1) +man:lttng-start(1), +man:lttng-concepts(7)