| 1 | lttng-set-session(1) |
| 2 | ==================== |
| 3 | :revdate: 7 April 2016 |
| 4 | |
| 5 | |
| 6 | NAME |
| 7 | ---- |
| 8 | lttng-set-session - Set the current LTTng tracing 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 tracing session. |
| 20 | |
| 21 | 'SESSION' is the name of an existing tracing session. `lttng list` |
| 22 | outputs all the existing tracing sessions (see man:lttng-list(1)). |
| 23 | |
| 24 | The current tracing session is used by default when a session can be |
| 25 | specified in other commands. See man:lttng-create(1) for more |
| 26 | information about the current tracing session. |
| 27 | |
| 28 | |
| 29 | include::common-cmd-options-head.txt[] |
| 30 | |
| 31 | |
| 32 | include::common-cmd-help-options.txt[] |
| 33 | |
| 34 | |
| 35 | include::common-cmd-footer.txt[] |
| 36 | |
| 37 | |
| 38 | SEE ALSO |
| 39 | -------- |
| 40 | man:lttng-create(1), |
| 41 | man:lttng-destroy(1), |
| 42 | man:lttng(1) |