X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fman%2Flttng.1.txt;h=fba24cee5c64d5a145b458fd736b2ddd7a0ad099;hb=da39b67ce2828bfc63a02db969048bfe1abd4ca0;hp=1b5d5ee31c996a699ad4024c176f81e5520e3b4f;hpb=26f0c7794376456fcb5b13d4eae91c0ccf0dfe66;p=lttng-tools.git diff --git a/doc/man/lttng.1.txt b/doc/man/lttng.1.txt index 1b5d5ee31..fba24cee5 100644 --- a/doc/man/lttng.1.txt +++ b/doc/man/lttng.1.txt @@ -1,6 +1,6 @@ lttng(1) ======== -:revdate: 3 May 2021 +:revdate: 12 May 2021 NAME @@ -12,7 +12,8 @@ SYNOPSIS -------- [verse] *lttng* [option:--group='GROUP'] [option:--mi=**xml**] [option:--no-sessiond | option:--sessiond-path='PATH'] - [option:--quiet | option:-verbose...] '<>' ['COMMAND OPTIONS'] + [option:--relayd-path='PATH'] [option:--quiet | option:-verbose...] + '<>' ['COMMAND OPTIONS'] DESCRIPTION @@ -32,11 +33,32 @@ daemon: * Sends asynchronous notifications to user applications. -By default, the man:lttng-create(1) command automatically spawns a -session daemon for your Unix user if none is currently running. Override -the path of the session daemon binary to spawn with the -option:--sessiond-path option. Avoid automatically spawning a session -daemon with the option:--no-sessiond option. +By default, the man:lttng-create(1) command automatically spawns: + +* A session daemon for your Unix user if none is currently running. ++ +Override the path of the session daemon binary to spawn with the +option:--sessiond-path option. ++ +Avoid automatically spawning a session daemon with the +option:--no-sessiond option. + +* A relay daemon (see man:lttng-relayd(8)) if all the following + statements are true: ++ +-- +* You specify the nloption:--live option. + +* You don't specify any of the nloption:--set-url, nloption:--ctrl-url, + or nloption:--data-url options. + +* No relay daemon is currently listening for TCP connections on + +127.0.0.1:{default_network_viewer_port}+ (default LTTng live reader + connection address and port). +-- ++ +Override the path of the relay daemon binary to spawn with the +option:--relayd-path option. NOTE: The LTTng project recommends that you start the session daemon at boot time for stable and long-term tracing. @@ -45,7 +67,7 @@ See man:lttng-concepts(7) to learn more about the foundational concepts of LTTng. The `lttng` tool offers a subcommand-based command-line interface. The -<> section below lists the available commands. +``<>'' section below lists the available commands. Session daemon connection @@ -134,6 +156,10 @@ option:--sessiond-path='PATH':: + You may :not: use this option with the option:--no-sessiond option. +option:--relayd-path='PATH':: + Set the absolute path of the relay daemon binary to spawn from the + man:lttng-create(1) command to 'PATH'. + option:-v, option:--verbose:: Increase verbosity. + @@ -245,7 +271,10 @@ Miscellaneous |=== -include::common-cmd-footer.txt[] +include::common-lttng-cmd-after-options.txt[] + + +include::common-footer.txt[] SEE ALSO