| 1 | lttng-set-session(1) |
| 2 | ==================== |
| 3 | :revdate: 14 June 2021 |
| 4 | |
| 5 | |
| 6 | NAME |
| 7 | ---- |
| 8 | lttng-set-session - Set the current LTTng recording session |
| 9 | |
| 10 | |
| 11 | SYNOPSIS |
| 12 | -------- |
| 13 | [verse] |
| 14 | *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *set-session* 'SESSION' |
| 15 | |
| 16 | |
| 17 | DESCRIPTION |
| 18 | ----------- |
| 19 | The `lttng set-session` command sets the current recording session of your |
| 20 | Unix user to the recording session named 'SESSION'. |
| 21 | |
| 22 | See man:lttng-concepts(7) to learn more about the current recording |
| 23 | session. |
| 24 | |
| 25 | The `set-session` command effectively updates the `$LTTNG_HOME/.lttngrc` |
| 26 | file. |
| 27 | |
| 28 | List the recording sessions of your Unix user, or of all users if |
| 29 | your Unix user is `root`, within the connected session daemon with the |
| 30 | man:lttng-list(1) command. |
| 31 | |
| 32 | |
| 33 | include::common-lttng-cmd-options-head.txt[] |
| 34 | |
| 35 | |
| 36 | include::common-lttng-cmd-help-options.txt[] |
| 37 | |
| 38 | |
| 39 | include::common-lttng-cmd-after-options.txt[] |
| 40 | |
| 41 | |
| 42 | include::common-footer.txt[] |
| 43 | |
| 44 | |
| 45 | SEE ALSO |
| 46 | -------- |
| 47 | man:lttng(1), |
| 48 | man:lttng-create(1), |
| 49 | man:lttng-concepts(7) |