8 lttng-crash - Recover and read LTTng trace buffers in the event of a crash
14 *lttng-crash* [option:--extract='DIR' | option:--viewer='READER'] [option:-verbose]... 'SHMDIR'
19 include::common-intro.txt[]
21 The `lttng-crash` command-line tool recovers LTTng trace buffers in the
22 event of a system crash.
24 `lttng-crash` reads files within the directory 'SHMDIR' and does one
27 Without the option:--extract option::
28 Launches a trace reader (see the option:--viewer option) to view the
31 With the option:--extract='DIR' option::
32 Extracts the files as uncorrupted LTTng traces to the 'DIR'
35 'SHMDIR' is the directory specified as the argument of the
36 nloption:--shm-path option of the man:lttng-create(1) command used to
37 create the tracing session for which to recover the traces.
42 option:-x 'DIR', option:--extract='DIR'::
43 Extract recovered traces to the directory 'DIR'; do :not: execute
46 option:-v, option:--verbose::
49 Specify this option up to three times to get more levels of verbosity.
51 option:-e 'READER', option:--viewer='READER'::
52 Use the trace reader 'READER' to read the trace buffers.
54 'READER' is the absolute path to the reader command to use, and it can
55 contain command arguments as well. `lttng-crash` passes the trace
56 directory paths to the 'READER' command as its last arguments.
58 Without this option, `lttng crash` uses man:babeltrace2(1) if it's
59 available. Otherwise, it tries to use man:babeltrace(1).
64 include::common-help-option.txt[]
66 option:-V, option:--version::
67 Show version and quit.
82 include::common-footer.txt[]
91 man:lttng-sessiond(8),