doc/man: use linkgenoptions macro
[lttng-tools.git] / doc / man / lttng-list.1.txt
CommitLineData
882108c6
PP
1lttng-list(1)
2=============
3
4
5NAME
6----
7lttng-list - List LTTng tracing sessions, domains, channels, and events
8
9
10SYNOPSIS
11--------
12List existing tracing sessions:
13
14[verse]
ce19b9ed 15*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list*
882108c6
PP
16
17List available event sources:
18
19[verse]
ce19b9ed 20*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list* [option:--fields]
882108c6
PP
21 [option:--kernel [option:--syscall]] [option:--userspace] [option:--jul] [option:--log4j] [option:--python]
22
23List tracing session's domains:
24
25[verse]
ce19b9ed 26*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list* option:--domain 'SESSION'
882108c6
PP
27
28List tracing session's channels and event rules:
29
30[verse]
ce19b9ed 31*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list* [option:--channel='CHANNEL'] 'SESSION'
882108c6
PP
32
33
34DESCRIPTION
35-----------
36The `lttng list` command lists tracing sessions, tracing domains,
37channels, and events.
38
39Without arguments, `lttng list` lists the existing tracing sessions
40and shows if they are active or not.
41
42With one or more of the option:--kernel, option:--userspace,
43option:--jul, option:--log4j, and option:--python domain options, the
44command lists the available event sources of the selected domain on the
45system. The JUL, log4j, and Python domains list the names of their
46available _loggers_. The option:--syscall option can be used alongside
47the option:--kernel option to get a list of traceable Linux system
48calls. The option:--fields option can be used to show the fields of the
49listed event sources.
50
51Providing a tracing session name 'SESSION' targets a specific tracing
52session. If the option:--domain option is used, domains containing at
53least one channel in the selected tracing session are listed. Otherwise,
54all the domains, channels, and event rules of the selected tracing
55session are listed along with its details (trace path, for example),
56except when the option:--channel option is used to isolate a specific
57channel by name.
58
59
60include::common-cmd-options-head.txt[]
61
62
63Domain
64~~~~~~
65option:-j, option:--jul::
66 List event sources in the `java.util.logging` (JUL) domain.
67
68option:-k, option:--kernel::
69 List event sources in the Linux kernel domain.
70
71option:-l, option:--log4j::
72 List event sources in the Apache log4j domain.
73
74option:-p, option:--python::
75 List event sources in the Python domain.
76
77option:-u, option:--userspace::
78 List event sources in the user space domain.
79
80
81Target
82~~~~~~
83option:-c, option:--channel='CHANNEL'::
84 Only list the details of the channel named 'CHANNEL'.
85
86
87Listing
88~~~~~~~
89option:-d, option:--domain::
90 Show the domains of the target tracing session in which at least one
91 channel exists.
92
93option:-f, option:--fields::
94 When listing the event sources with one of the domain options,
95 also show their fields.
96
97option:--syscall::
98 When listing the event sources of the Linux kernel domain, list
99 the traceable system calls instead of the kernel tracepoints.
100
101
102include::common-cmd-help-options.txt[]
103
104
105include::common-cmd-footer.txt[]
106
107
108SEE ALSO
109--------
110linklttng:lttng(1)
This page took 0.02609 seconds and 4 git commands to generate.