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