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