| 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 |
| 9 | about LTTng commands (using linklttng:lttng-help(1) or |
| 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 | + |
| 19 | The genoption:--sessiond-path option has precedence over this |
| 20 | environment variable. |
| 21 | |
| 22 | Note that the linklttng:lttng-create(1) command can spawn an LTTng |
| 23 | session daemon automatically if none is running. See |
| 24 | linklttng:lttng-sessiond(8) for the environment variables influencing |
| 25 | the execution of the session daemon. |
| 26 | |
| 27 | |
| 28 | EXIT STATUS |
| 29 | ----------- |
| 30 | *0*:: |
| 31 | Success |
| 32 | |
| 33 | *1*:: |
| 34 | Command error |
| 35 | |
| 36 | *2*:: |
| 37 | Undefined command |
| 38 | |
| 39 | *3*:: |
| 40 | Fatal error |
| 41 | |
| 42 | *4*:: |
| 43 | Command warning (something went wrong during the command) |
| 44 | |
| 45 | |
| 46 | include::common-footer.txt[] |