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