Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


(Obsoleted) tracing session



Hierarchy Level

Release Information

Statement introduced in Junos OS with Linux Release 16.2R1 for PTX5000 Routers.


Use the LTTng tracing feature to troubleshoot issues or learn what the system is doing. You have to configure a tracing session to activate that tracing session on the system. After a tracing session is configured, trace data from all nodes is collected on the master Routing Engine in /var/log/lttng-traces. You can view collected traces with the show trace command.

A default tracing session is created on all nodes, and trace data from this default session is accumulated on the master Routing Engine in /var/log/lttng-traces.

Configure a tracing session by name. For each session, you can define tracing options for any applications you select—you can also select all applications. You can control how many trace files are created before the first one is overwritten, and the size of a trace file before rollover occurs. You can also select to purge trace files when the trace session is deleted.

To delete a tracing session, use the delete system tracing session session-name command from configuration mode.


session-nameTracing session name. You can define multiple tracing sessions.
file-count valueRollover trace file count.

Default: 2

Range: 2 through 8

file-size valueRollover trace file size in megabytes.

Default: 4

Range: 4 through 8

purge-on-deleteRemove trace files when the trace session is deleted.

The remaining statements are explained separately.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.