Document tracing session rotation features
[lttng-tools.git] / doc / man / lttng.1.txt
index 2af6fe55d72915b573cb4adf3e2a12d0354e7390..5e949e20d9f8ea2ed1b95d1d714cbc9ae319e826 100644 (file)
@@ -11,7 +11,7 @@ SYNOPSIS
 --------
 [verse]
 *lttng* [option:--group='GROUP'] [option:--mi='TYPE'] [option:--no-sessiond | option:--sessiond-path='PATH']
-      [option:--quiet | option:-v | option:-vv | option:-vvv] 'COMMAND' ['COMMAND OPTIONS']
+      [option:--quiet | option:-v | option:-vv | option:-vvv] '<<commands,COMMAND>>' ['COMMAND OPTIONS']
 
 
 DESCRIPTION
@@ -23,7 +23,7 @@ user applications, and user libraries.
 LTTng consists of Linux kernel modules (for Linux kernel tracing) and
 dynamically loaded libraries (for user application and library tracing).
 
-An LTTng _session daemon_, linklttng:lttng-sessiond(8), receives
+An LTTng _session daemon_, man:lttng-sessiond(8), receives
 commands from the command-line interface `lttng` to control the LTTng
 tracers. All interactions with the LTTng tracers happen through the
 `lttng` tool or through the liblttng-ctl library shipped with the
@@ -40,20 +40,22 @@ nloption:-k, nloption:--kernel::
     Apply command to the Linux kernel domain.
 
 nloption:-l, nloption:--log4j::
-    Apply command to the Apache log4j 1.2 (Java) domain.
+    Apply command to the https://logging.apache.org/log4j/1.2/[Apache log4j 1.2]
+    (Java) domain.
 
 nloption:-p, nloption:--python::
-    Apply command to the Python domain.
+    Apply command to the https://www.python.org/[Python] domain.
 
 nloption:-u, nloption:--userspace::
-    Apply command to the user space domain.
+    Apply command to the user space domain (application using
+    liblttng-ust directly; see man:lttng-ust(3)).
 
 The LTTng session daemon is a tracing registry which allows the user to
 interact with multiple tracers (kernel and user space) within the same
 container, a _tracing session_. Traces can be gathered from the Linux
 kernel and/or from instrumented applications (see
-linklttng:lttng-ust(3)). You can aggregate and read the events of LTTng
-traces using linklttng:babeltrace(1).
+man:lttng-ust(3)). You can aggregate and read the events of LTTng
+traces using man:babeltrace(1).
 
 To trace the Linux kernel, the session daemon needs to be running as
 `root`. LTTng uses a _tracing group_ to allow specific users to interact
@@ -71,19 +73,19 @@ for stable and long-term tracing.
 User applications instrumented with LTTng automatically register to the
 root session daemon and to user session daemons. This allows any session
 daemon to list the available traceable applications and event sources
-(see linklttng:lttng-list(1)).
+(see man:lttng-list(1)).
 
-By default, the linklttng:lttng-create(1) command automatically spawns a
+By default, the man:lttng-create(1) command automatically spawns a
 user session daemon if none is currently running. The
 option:--no-sessiond general option can be set to avoid this.
 
 
 OPTIONS
 -------
-option:-g, option:--group='GROUP'::
+option:-g 'GROUP', option:--group='GROUP'::
     Use 'GROUP' as Unix tracing group (default: `tracing`).
 
-option:-m, option:--mi='TYPE'::
+option:-m 'TYPE', option:--mi='TYPE'::
     Print the command's result using the machine interface type 'TYPE'
     instead of a human-readable output.
 +
@@ -137,6 +139,7 @@ option:-V, option:--version::
     Show version.
 
 
+[[commands]]
 COMMANDS
 --------
 The following commands also have their own nloption:--help option.
@@ -144,89 +147,99 @@ The following commands also have their own nloption:--help option.
 
 Tracing sessions
 ~~~~~~~~~~~~~~~~
-linklttng:lttng-create(1)::
-    Create a tracing session.
+man:lttng-create(1)::
+    {cmd_descr_create}.
 
-linklttng:lttng-destroy(1)::
-    Tear down tracing sessions.
+man:lttng-destroy(1)::
+    {cmd_descr_destroy}.
 
-linklttng:lttng-load(1)::
-    Load tracing session configurations.
+man:lttng-load(1)::
+    {cmd_descr_load}.
 
-linklttng:lttng-metadata(1)::
-    Manage an LTTng tracing session's metadata generation.
+man:lttng-regenerate(1)::
+    {cmd_descr_regenerate}.
 
-linklttng:lttng-save(1)::
-    Save tracing session configurations.
+man:lttng-save(1)::
+    {cmd_descr_save}.
 
-linklttng:lttng-set-session(1)::
-    Set current tracing session.
+man:lttng-set-session(1)::
+    {cmd_descr_set_session}.
 
 
 Channels
 ~~~~~~~~
-linklttng:lttng-add-context(1)::
-    Add context fields to a channel.
+man:lttng-add-context(1)::
+    {cmd_descr_add_context}.
 
-linklttng:lttng-disable-channel(1)::
-    Disable tracing channels.
+man:lttng-disable-channel(1)::
+    {cmd_descr_disable_channel}.
 
-linklttng:lttng-enable-channel(1)::
-    Create or enable tracing channels.
+man:lttng-enable-channel(1)::
+    {cmd_descr_enable_channel}.
 
 
 Event rules
 ~~~~~~~~~~~
-linklttng:lttng-disable-event(1)::
-    Disable event rules.
+man:lttng-disable-event(1)::
+    {cmd_descr_disable_event}.
 
-linklttng:lttng-enable-event(1)::
-    Create or enable event rules.
+man:lttng-enable-event(1)::
+    {cmd_descr_enable_event}.
 
 
 Status
 ~~~~~~
-linklttng:lttng-list(1)::
-    List tracing sessions, domains, channels, and events.
+man:lttng-list(1)::
+    {cmd_descr_list}.
 
-linklttng:lttng-status(1)::
-    Get the status of the current tracing session.
+man:lttng-status(1)::
+    {cmd_descr_status}.
 
 
 Control
 ~~~~~~~
-linklttng:lttng-snapshot(1)::
-    Snapshot buffers of current tracing session.
+man:lttng-snapshot(1)::
+    {cmd_descr_snapshot}.
 
-linklttng:lttng-start(1)::
-    Start tracing.
+man:lttng-start(1)::
+    {cmd_descr_start}.
+
+man:lttng-stop(1)::
+    {cmd_descr_stop}.
+
+
+Tracing session rotation
+~~~~~~~~~~~~~~~~~~~~~~~~
+man:lttng-disable-rotation(1)::
+    {cmd_descr_disable_rotation}.
+
+man:lttng-enable-rotation(1)::
+    {cmd_descr_enable_rotation}.
+
+man:lttng-rotate(1)::
+    {cmd_descr_rotate}.
 
-linklttng:lttng-stop(1)::
-    Stop tracing.
 
 
 Resource tracking
 ~~~~~~~~~~~~~~~~~
-linklttng:lttng-track(1)::
-    Track specific system resources.
+man:lttng-track(1)::
+    {cmd_descr_track}.
 
-linklttng:lttng-untrack(1)::
-    Untrack specific system resources.
+man:lttng-untrack(1)::
+    {cmd_descr_untrack}.
 
 
 Miscellaneous
 ~~~~~~~~~~~~~
-linklttng:lttng-calibrate(1)::
-    Quantify LTTng overhead.
-
-linklttng:lttng-help(1)::
-    Display help information about a command.
+man:lttng-help(1)::
+    {cmd_descr_help}.
 
-linklttng:lttng-version(1)::
-    Show version information.
+man:lttng-version(1)::
+    {cmd_descr_version}.
 
-linklttng:lttng-view(1)::
-    Start trace viewer.
+man:lttng-view(1)::
+    {cmd_descr_view}.
 
 
 include::common-cmd-footer.txt[]
@@ -234,8 +247,8 @@ include::common-cmd-footer.txt[]
 
 SEE ALSO
 --------
-linklttng:lttng-sessiond(8),
-linklttng:lttng-relayd(8),
-linklttng:lttng-crash(1),
-linklttng:lttng-ust(3),
-linklttng:babeltrace(1)
+man:lttng-sessiond(8),
+man:lttng-relayd(8),
+man:lttng-crash(1),
+man:lttng-ust(3),
+man:babeltrace(1)
This page took 0.027673 seconds and 5 git commands to generate.