Commit | Line | Data |
---|---|---|
5d231d82 PP |
1 | ENVIRONMENT VARIABLES |
2 | --------------------- | |
3 | `LTTNG_HOME`:: | |
4 | Overrides the `$HOME` environment variable. Useful when the user | |
5 | running the commands has a non-writable home directory. | |
6 | ||
7 | `LTTNG_MAN_BIN_PATH`:: | |
8 | Absolute path to the man pager to use for viewing help information | |
74354842 | 9 | about LTTng commands (using man:lttng-help(1) or |
5d231d82 PP |
10 | `lttng COMMAND --help`). |
11 | ||
12 | `LTTNG_SESSION_CONFIG_XSD_PATH`:: | |
13 | Path in which the `session.xsd` session configuration XML | |
14 | schema may be found. | |
15 | ||
16 | `LTTNG_SESSIOND_PATH`:: | |
17 | Full session daemon binary path. | |
18 | + | |
1cdba677 | 19 | The genoption:--sessiond-path option has precedence over this |
5d231d82 PP |
20 | environment variable. |
21 | ||
74354842 | 22 | Note that the man:lttng-create(1) command can spawn an LTTng |
5d231d82 | 23 | session daemon automatically if none is running. See |
74354842 | 24 | man:lttng-sessiond(8) for the environment variables influencing |
5d231d82 PP |
25 | the execution of the session daemon. |
26 | ||
27 | ||
7625ba9f PP |
28 | FILES |
29 | ----- | |
30 | `$LTTNG_HOME/.lttngrc`:: | |
31 | User LTTng runtime configuration. | |
32 | + | |
33 | This is where the per-user current tracing session is stored between | |
74354842 PP |
34 | executions of man:lttng(1). The current tracing session can be set |
35 | with man:lttng-set-session(1). See man:lttng-create(1) for | |
7625ba9f PP |
36 | more information about tracing sessions. |
37 | ||
38 | `$LTTNG_HOME/lttng-traces`:: | |
39 | Default output directory of LTTng traces. This can be overridden | |
74354842 | 40 | with the nloption:--output option of the man:lttng-create(1) |
7625ba9f PP |
41 | command. |
42 | ||
43 | `$LTTNG_HOME/.lttng`:: | |
44 | User LTTng runtime and configuration directory. | |
45 | ||
46 | `$LTTNG_HOME/.lttng/sessions`:: | |
47 | Default location of saved user tracing sessions (see | |
74354842 | 48 | man:lttng-save(1) and man:lttng-load(1)). |
7625ba9f | 49 | |
8c2b6cb2 | 50 | +{system_sessions_dir}+:: |
7625ba9f | 51 | System-wide location of saved tracing sessions |
74354842 | 52 | (see man:lttng-save(1) and man:lttng-load(1)). |
7625ba9f PP |
53 | |
54 | NOTE: `$LTTNG_HOME` defaults to `$HOME` when not explicitly set. | |
55 | ||
56 | ||
5d231d82 PP |
57 | EXIT STATUS |
58 | ----------- | |
59 | *0*:: | |
60 | Success | |
61 | ||
62 | *1*:: | |
63 | Command error | |
64 | ||
65 | *2*:: | |
66 | Undefined command | |
67 | ||
68 | *3*:: | |
69 | Fatal error | |
70 | ||
71 | *4*:: | |
72 | Command warning (something went wrong during the command) | |
73 | ||
74 | ||
75 | include::common-footer.txt[] |