X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fman%2Flttng-remove-trigger.1.txt;h=6bec8c55519713d4747a2c9fdd3af150734213d2;hb=da39b67ce2828bfc63a02db969048bfe1abd4ca0;hp=faf67b2f86d70bede1e18733b3a65965e2a27b1c;hpb=af1c4164dd7bad940a84c29c2b429d76e3fc0e33;p=lttng-tools.git diff --git a/doc/man/lttng-remove-trigger.1.txt b/doc/man/lttng-remove-trigger.1.txt index faf67b2f8..6bec8c555 100644 --- a/doc/man/lttng-remove-trigger.1.txt +++ b/doc/man/lttng-remove-trigger.1.txt @@ -1,6 +1,6 @@ lttng-remove-trigger(1) ======================= -:revdate: 29 April 2021 +:revdate: 17 May 2021 NAME @@ -27,6 +27,8 @@ The `remove-trigger` command removes a trigger which belong to your Unix user. If your Unix user is `root`, you can remove the trigger of another user with the option:--owner-uid option. +See the ``<>'' section below for usage examples. + OPTIONS ------- @@ -39,10 +41,38 @@ option:--owner-uid='UID':: You may only use this option if your Unix user is `root`. -include::common-cmd-help-options.txt[] +include::common-lttng-cmd-help-options.txt[] + + +include::common-lttng-cmd-after-options.txt[] + + +[[examples]] +EXAMPLES +-------- +.Remove a trigger. +==== +[role="term"] +---- +$ lttng remove-trigger my-trigger +---- +==== + +.Remove a trigger as another Unix user. +==== +The command line below removes a trigger as the `mireille` Unix user. + +Your Unix user must be `root` to use the option:--owner-uid option. + +[role="term"] +---- +$ lttng remove-trigger --owner-uid=$(id --user mireille) \ + my-trigger +---- +==== -include::common-cmd-footer.txt[] +include::common-footer.txt[] SEE ALSO