X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fman%2Flttng-set-session.1.txt;h=6c04caf927707d23428390a1cbdbc1bd6ac4d1f4;hb=8c1d25ffa38450278c1757dfae5b6511e8be1aa7;hp=d9c041cf404ba9602b450463e57ecb7602312ad5;hpb=7c1a4458be934fec31aa27a0eb52e4d0b8cb3803;p=lttng-tools.git diff --git a/doc/man/lttng-set-session.1.txt b/doc/man/lttng-set-session.1.txt index d9c041cf4..6c04caf92 100644 --- a/doc/man/lttng-set-session.1.txt +++ b/doc/man/lttng-set-session.1.txt @@ -1,5 +1,6 @@ lttng-set-session(1) ==================== +:revdate: 29 April 2021 NAME @@ -15,14 +16,17 @@ SYNOPSIS DESCRIPTION ----------- -The `lttng set-session` command sets the current tracing session. +The `lttng set-session` command sets the current tracing session of your +Unix user to the tracing session named 'SESSION'. -'SESSION' is the name of an existing tracing session. `lttng list` -outputs all the existing tracing sessions (see man:lttng-list(1)). +See man:lttng-concepts(7) to learn more about the current tracing session. -The current tracing session is used by default when a session can be -specified in other commands. See man:lttng-create(1) for more -information about the current tracing session. +The `set-session` command effectively updates the `$LTTNG_HOME/.lttngrc` +file. + +List the tracing 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[] @@ -36,6 +40,7 @@ include::common-cmd-footer.txt[] SEE ALSO -------- +man:lttng(1), +man:lttng-concepts(7), man:lttng-create(1), -man:lttng-destroy(1), -man:lttng(1) +man:lttng-destroy(1)