X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fman%2Flttng-set-session.1.txt;h=c0ae89aa0d62b6fc3dcedea233216904a9b0bf22;hb=e971184584781f70bbbfc52bbede8b9abf0436e5;hp=998266affb5b1a243197988b5e0894a54c5af019;hpb=ce19b9ed9bd9591bd0c4d1998780082a490991fd;p=lttng-tools.git diff --git a/doc/man/lttng-set-session.1.txt b/doc/man/lttng-set-session.1.txt index 998266aff..c0ae89aa0 100644 --- a/doc/man/lttng-set-session.1.txt +++ b/doc/man/lttng-set-session.1.txt @@ -1,10 +1,11 @@ lttng-set-session(1) ==================== +:revdate: 14 June 2021 NAME ---- -lttng-set-session - Set the current LTTng tracing session +lttng-set-session - Set the current LTTng recording session SYNOPSIS @@ -15,27 +16,34 @@ SYNOPSIS DESCRIPTION ----------- -The `lttng set-session` command sets the current tracing session. +The `lttng set-session` command sets the current recording session of your +Unix user to the recording session named 'SESSION'. -'SESSION' is the name of an existing tracing session. `lttng list` -outputs all the existing tracing sessions (see linklttng:lttng-list(1)). +See man:lttng-concepts(7) to learn more about the current recording +session. -The current tracing session is used by default when a session can be -specified in other commands. See linklttng:lttng-create(1) for more -information about the current tracing session. +The `set-session` command effectively updates the `$LTTNG_HOME/.lttngrc` +file. +List the recording sessions of your Unix user, or of all users if +your Unix user is `root`, within the connected session daemon with the +man:lttng-list(1) command. -include::common-cmd-options-head.txt[] +include::common-lttng-cmd-options-head.txt[] -include::common-cmd-help-options.txt[] +include::common-lttng-cmd-help-options.txt[] -include::common-cmd-footer.txt[] + +include::common-lttng-cmd-after-options.txt[] + + +include::common-footer.txt[] SEE ALSO -------- -linklttng:lttng-create(1), -linklttng:lttng-destroy(1), -linklttng:lttng(1) +man:lttng(1), +man:lttng-create(1), +man:lttng-concepts(7)