| 1 | EXIT STATUS |
| 2 | ----------- |
| 3 | *0*:: |
| 4 | Success |
| 5 | |
| 6 | *1*:: |
| 7 | Command error |
| 8 | |
| 9 | *2*:: |
| 10 | Undefined command |
| 11 | |
| 12 | *3*:: |
| 13 | Fatal error |
| 14 | |
| 15 | *4*:: |
| 16 | Command warning (something went wrong during the command) |
| 17 | |
| 18 | |
| 19 | ENVIRONMENT |
| 20 | ----------- |
| 21 | `LTTNG_ABORT_ON_ERROR`:: |
| 22 | Set to `1` to abort the process after the first error is |
| 23 | encountered. |
| 24 | |
| 25 | `LTTNG_HOME`:: |
| 26 | Path to the LTTng home directory. |
| 27 | + |
| 28 | Defaults to `$HOME`. |
| 29 | + |
| 30 | Useful when the Unix user running the commands has a non-writable home |
| 31 | directory. |
| 32 | |
| 33 | `LTTNG_MAN_BIN_PATH`:: |
| 34 | Absolute path to the manual pager to use to read the LTTng |
| 35 | command-line help (with man:lttng-help(1) or with the |
| 36 | nloption:--help option) instead of `/usr/bin/man`. |
| 37 | |
| 38 | `LTTNG_SESSION_CONFIG_XSD_PATH`:: |
| 39 | Path to the directory containing the `session.xsd` recording session |
| 40 | configuration XML schema. |
| 41 | |
| 42 | `LTTNG_SESSIOND_PATH`:: |
| 43 | Absolute path to the LTTng session daemon binary (see |
| 44 | man:lttng-sessiond(8)) to spawn from the man:lttng-create(1) |
| 45 | command. |
| 46 | + |
| 47 | The genoption:--sessiond-path general option overrides this environment |
| 48 | variable. |
| 49 | |
| 50 | |
| 51 | FILES |
| 52 | ----- |
| 53 | `$LTTNG_HOME/.lttngrc`:: |
| 54 | Unix user's LTTng runtime configuration. |
| 55 | + |
| 56 | This is where LTTng stores the name of the Unix user's current recording |
| 57 | session between executions of man:lttng(1). man:lttng-create(1) and |
| 58 | man:lttng-set-session(1) set the current recording session. |
| 59 | |
| 60 | `$LTTNG_HOME/lttng-traces`:: |
| 61 | Default output directory of LTTng traces in local and snapshot |
| 62 | modes. |
| 63 | + |
| 64 | Override this path with the nloption:--output option of the |
| 65 | man:lttng-create(1) command. |
| 66 | |
| 67 | `$LTTNG_HOME/.lttng`:: |
| 68 | Unix user's LTTng runtime and configuration directory. |
| 69 | |
| 70 | `$LTTNG_HOME/.lttng/sessions`:: |
| 71 | Default directory containing the Unix user's saved recording session |
| 72 | configurations (see man:lttng-save(1) and man:lttng-load(1)). |
| 73 | |
| 74 | +{system_sessions_dir}+:: |
| 75 | Directory containing the system-wide saved recording session |
| 76 | configurations (see man:lttng-save(1) and man:lttng-load(1)). |
| 77 | |
| 78 | NOTE: `$LTTNG_HOME` defaults to the value of the `HOME` environment |
| 79 | variable. |
| 80 | |