Commit | Line | Data |
---|---|---|
9d4408b8 PP |
1 | lttng-set-session(1) |
2 | ==================== | |
484b2a0c | 3 | :revdate: 21 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 | ||
22 | See man:lttng-create(1) to learn more about the current tracing session. | |
23 | ||
24 | The following man:lttng(1) commands select the current tracing session | |
25 | if you don't specify one: | |
26 | ||
27 | * man:lttng-add-context(1) | |
28 | * man:lttng-clear(1) | |
29 | * man:lttng-destroy(1) | |
30 | * man:lttng-disable-channel(1) | |
31 | * man:lttng-disable-event(1) | |
32 | * man:lttng-disable-rotation(1) | |
33 | * man:lttng-enable-channel(1) | |
34 | * man:lttng-enable-event(1) | |
35 | * man:lttng-enable-rotation(1) | |
36 | * man:lttng-regenerate(1) | |
37 | * man:lttng-rotate(1) | |
38 | * man:lttng-save(1) | |
39 | * man:lttng-snapshot(1) | |
40 | * man:lttng-start(1) | |
41 | * man:lttng-status(1) | |
42 | * man:lttng-stop(1) | |
43 | * man:lttng-track(1) | |
44 | * man:lttng-untrack(1) | |
45 | * man:lttng-view(1) | |
46 | ||
47 | The `set-session` command effectively updates the `$LTTNG_HOME/.lttngrc` | |
48 | file. | |
49 | ||
50 | List the tracing sessions of your Unix user with the man:lttng-list(1) | |
51 | command. | |
9d4408b8 PP |
52 | |
53 | ||
54 | include::common-cmd-options-head.txt[] | |
55 | ||
56 | ||
57 | include::common-cmd-help-options.txt[] | |
58 | ||
59 | ||
60 | include::common-cmd-footer.txt[] | |
61 | ||
62 | ||
63 | SEE ALSO | |
64 | -------- | |
7c1a4458 PP |
65 | man:lttng-create(1), |
66 | man:lttng-destroy(1), | |
67 | man:lttng(1) |