Update some manual pages for LTTng-tools 2.13
[lttng-tools.git] / doc / man / lttng-view.1.txt
CommitLineData
79e094df
PP
1lttng-view(1)
2=============
484b2a0c 3:revdate: 21 April 2021
79e094df
PP
4
5
6NAME
7----
484b2a0c 8lttng-view - Launch an LTTng trace reader
79e094df
PP
9
10
11SYNOPSIS
12--------
13[verse]
484b2a0c
PP
14*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *view* [option:--viewer='READER']
15 ['SESSION' | option:--trace-path='DIR']
79e094df
PP
16
17
18DESCRIPTION
19-----------
484b2a0c
PP
20The `lttng view` command launches an external trace reader to read the
21current traces of:
79e094df 22
484b2a0c
PP
23With the option:--session='SESSION' option::
24 The tracing session named 'SESSION'.
79e094df 25
484b2a0c
PP
26With the option:--trace-path='DIR' option::
27 The local file system directory 'DIR'.
79e094df 28
484b2a0c
PP
29Otherwise::
30 The current tracing session (see man:lttng-create(1) and
31 man:lttng-set-session(1) to learn more about the current tracing
32 session).
33
34With the option:--session option or without the option:--trace-path
35option, the mode of the selected tracing session may :not: be network
36streaming or live.
37
38By default, the `view` command attempts to launch man:babeltrace2(1) or,
39if it's not available, man:babeltrace(1). Override which trace reader to
40launch with the option:--viewer option.
79e094df
PP
41
42
43include::common-cmd-options-head.txt[]
44
45
484b2a0c
PP
46option:-t 'DIR', option:--trace-path='DIR'::
47 Pass 'DIR' as the last argument of the trace reader command instead
48 of the output directory of the selected tracing session.
79e094df 49
484b2a0c
PP
50option:-e 'READER', option:--viewer='READER'::
51 Use the trace reader 'READER' to read the traces.
52+
53'READER' is the absolute path to the reader command to use, and it can
54contain command arguments as well. The `view` command passes the trace
55directory path to read to the 'READER' command as its last argument.
56+
57Without this option, the `view` command uses man:babeltrace2(1) if it's
58available. Otherwise, it tries to use man:babeltrace(1).
79e094df
PP
59
60
61include::common-cmd-help-options.txt[]
62
63
64include::common-cmd-footer.txt[]
65
66
67SEE ALSO
68--------
484b2a0c 69man:babeltrace2(1),
7c1a4458 70man:lttng(1)
This page took 0.03334 seconds and 4 git commands to generate.