Rename "tracing session" -> "recording session"
[lttng-tools.git] / doc / man / lttng-crash.1.txt
CommitLineData
aec4668a
PP
1lttng-crash(1)
2==============
e9711845 3:revdate: 14 June 2021
aec4668a
PP
4
5
6NAME
7----
484b2a0c 8lttng-crash - Recover and read LTTng trace buffers in the event of a crash
aec4668a
PP
9
10
11SYNOPSIS
12--------
13[verse]
484b2a0c 14*lttng-crash* [option:--extract='DIR' | option:--viewer='READER'] [option:-verbose]... 'SHMDIR'
aec4668a
PP
15
16
17DESCRIPTION
18-----------
484b2a0c 19include::common-intro.txt[]
aec4668a 20
484b2a0c
PP
21The `lttng-crash` command-line tool recovers LTTng trace buffers in the
22event of a system crash.
aec4668a 23
6f7058c2
PP
24`lttng-crash` reads files within the directory 'SHMDIR' and does one
25of:
26
27Without the option:--extract option::
28 Launches a trace reader (see the option:--viewer option) to view the
29 recovered traces.
30
484b2a0c
PP
31With the option:--extract='DIR' option::
32 Extracts the files as uncorrupted LTTng traces to the 'DIR'
33 directory.
6f7058c2
PP
34
35'SHMDIR' is the directory specified as the argument of the
36nloption:--shm-path option of the man:lttng-create(1) command used to
e9711845 37create the recording session for which to recover the traces.
6f7058c2 38
aec4668a
PP
39
40OPTIONS
41-------
484b2a0c
PP
42option:-x 'DIR', option:--extract='DIR'::
43 Extract recovered traces to the directory 'DIR'; do :not: execute
44 any trace reader.
aec4668a
PP
45
46option:-v, option:--verbose::
47 Increase verbosity.
48+
484b2a0c
PP
49Specify this option up to three times to get more levels of verbosity.
50
51option:-e 'READER', option:--viewer='READER'::
52 Use the trace reader 'READER' to read the trace buffers.
53+
54'READER' is the absolute path to the reader command to use, and it can
55contain command arguments as well. `lttng-crash` passes the trace
56directory paths to the 'READER' command as its last arguments.
aec4668a 57+
32357a9a
PP
58Without this option, `lttng crash` uses man:babeltrace2(1) if it's
59available. Otherwise, it tries to use man:babeltrace(1).
aec4668a
PP
60
61
62Program information
63~~~~~~~~~~~~~~~~~~~
484b2a0c 64include::common-help-option.txt[]
aec4668a
PP
65
66option:-V, option:--version::
484b2a0c 67 Show version and quit.
aec4668a
PP
68
69
70EXIT STATUS
71-----------
72*0*::
73 Success
74
75*1*::
76 Error
77
78*3*::
79 Fatal error
80
81
82include::common-footer.txt[]
83
84
85SEE ALSO
86--------
484b2a0c 87man:babeltrace2(1),
7c1a4458 88man:lttng(1),
26f0c779 89man:lttng-create(1)
This page took 0.034068 seconds and 4 git commands to generate.