File: lttng-remove-trigger.1.txt

package info (click to toggle)
ltt-control 2.13.15-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 17,656 kB
  • sloc: ansic: 167,287; sh: 27,018; makefile: 2,828; python: 1,380; yacc: 692; lex: 129; java: 109; perl: 99; cpp: 35; xml: 23
file content (83 lines) | stat: -rw-r--r-- 1,678 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
lttng-remove-trigger(1)
=======================
:revdate: 17 May 2021


NAME
----
lttng-remove-trigger - Remove an LTTng trigger


SYNOPSIS
--------
[verse]
*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *remove-trigger* [option:--owner-uid='UID'] 'NAME'


DESCRIPTION
-----------
The `lttng remove-trigger` command removes the trigger named 'NAME'.

See man:lttng-concepts(7) to learn more about LTTng triggers.

List the triggers of your Unix user, or of all users if your
Unix user is `root`, with the man:lttng-list-triggers(1) command.

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 ``<<examples,EXAMPLES>>'' section below for usage examples.


OPTIONS
-------
Identification
~~~~~~~~~~~~~~
option:--owner-uid='UID'::
    Remove the trigger named 'NAME' of the Unix user having the user ID
    'UID'.
+
You may only use this option if your Unix user is `root`.


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-footer.txt[]


SEE ALSO
--------
man:lttng(1),
man:lttng-add-trigger(1),
man:lttng-list-triggers(1),
man:lttng-concepts(7)