X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=contents%2Fusing-lttng%2Fcontrolling-tracing%2Flttng-live.md;h=ef6c9affa2dc403a75e56045bf555a2181b19860;hb=3b5b45ec9eeae44744acb849c1a04eddd9d971c4;hp=9d646202fcabd12c017825132c123386f2a8a6f0;hpb=5e0cbfb01373c18e521217342fd8a9159cc186b1;p=lttng-docs.git diff --git a/contents/using-lttng/controlling-tracing/lttng-live.md b/contents/using-lttng/controlling-tracing/lttng-live.md index 9d64620..ef6c9af 100644 --- a/contents/using-lttng/controlling-tracing/lttng-live.md +++ b/contents/using-lttng/controlling-tracing/lttng-live.md @@ -14,13 +14,12 @@ _LTTng live_. LTTng live is implemented, in LTTng, solely on the relay daemon side. As trace data is sent over the network to a relay daemon by a (possibly -remote) consumer daemon, a _tee_ may be created: trace data will be -recorded to trace files _as well as_ being transmitted to a -connected live viewer: +remote) consumer daemon, a _tee_ is created: trace data is recorded to +trace files _as well as_ being transmitted to a connected live viewer:
lttng create --live 100000-will flush every 100 ms. +the daemons flush their data every 100 ms. If no network output is specified to the `create` command, a local -relay daemon will be spawned. In this very common case, viewing a live +relay daemon is spawned. In this very common case, viewing a live trace is easy: enable events and start tracing as usual, then use `lttng view` to start the default live viewer: @@ -50,7 +49,7 @@ trace is easy: enable events and start tracing as usual, then use lttng view -The correct arguments will be passed to the live viewer so that it +The correct arguments are passed to the live viewer so that it may connect to the local relay daemon and start reading live events. You may also wish to use a live viewer not running on the target @@ -69,12 +68,12 @@ list active tracing sessions by doing the following (assuming the relay daemon to connect to runs on the same host):
-babeltrace -i lttng-live net://localhost +babeltrace --input-format lttng-live net://localhostThen, choose a tracing session and start viewing events as they arrive -using LTTng live, e.g.: +using LTTng live:
-babeltrace -i lttng-live net://localhost/host/hostname/my-session +babeltrace --input-format lttng-live net://localhost/host/hostname/my-session