3 :revdate: 28 November 2016
8 lttng-list - List LTTng tracing sessions, domains, channels, and events
13 List existing tracing sessions:
16 *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list*
18 List available event sources:
21 *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list* [option:--fields]
22 [option:--kernel [option:--syscall]] [option:--userspace] [option:--jul] [option:--log4j] [option:--python]
24 List tracing session's domains:
27 *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list* option:--domain 'SESSION'
29 List tracing session's channels and event rules:
32 *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list* [option:--channel='CHANNEL'] 'SESSION'
37 The `lttng list` command lists tracing sessions, tracing domains,
40 Without arguments, `lttng list` lists the existing tracing sessions
41 and shows if they are active or not.
43 With one or more of the option:--kernel, option:--userspace,
44 option:--jul, option:--log4j, and option:--python domain options, the
45 command lists the available event sources of the selected domain on the
46 system. The JUL, log4j, and Python domains list the names of their
47 available _loggers_. The option:--syscall option can be used alongside
48 the option:--kernel option to get a list of traceable Linux system
49 calls. The option:--fields option can be used to show the fields of the
52 Providing a tracing session name 'SESSION' targets a specific tracing
53 session. If the option:--domain option is used, domains containing at
54 least one channel in the selected tracing session are listed. Otherwise,
55 all the domains, channels, and event rules of the selected tracing
56 session are listed along with its details (trace path, for example),
57 except when the option:--channel option is used to isolate a specific
61 include::common-cmd-options-head.txt[]
66 option:-j, option:--jul::
67 List event sources in the `java.util.logging` (JUL) domain.
69 option:-k, option:--kernel::
70 List event sources in the Linux kernel domain.
72 option:-l, option:--log4j::
73 List event sources in the Apache log4j domain.
75 option:-p, option:--python::
76 List event sources in the Python domain.
78 option:-u, option:--userspace::
79 List event sources in the user space domain.
84 option:-c 'CHANNEL', option:--channel='CHANNEL'::
85 Only list the details of the channel named 'CHANNEL'.
90 option:-d, option:--domain::
91 Show the domains of the target tracing session in which at least one
94 option:-f, option:--fields::
95 When listing the event sources with one of the domain options,
96 also show their fields.
99 When listing the event sources of the Linux kernel domain, list
100 the traceable system calls instead of the kernel tracepoints.
103 include::common-cmd-help-options.txt[]
106 include::common-cmd-footer.txt[]