Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show trace

Syntax

Description

Show the trace data from all nodes that is collected on the primary Routing Engine in /var/log/traces. All applications are traced at the info level for informational messages. You can refine the traces to show by specifying trace time elapsed, application, process ID, and node.

The options provide you with a way to target the traces you want to see. The ouput will prompt you to use the options, like so:

Options

none

Display all traces.

application app-name

(Optional) Display traces for the specified application name.

live

(Optional) Enable a mode in which the command remains active and new traces are displayed as they come in.

node node-name

(Optional) Display traces for the specified node name.

pid pid-value

(Optional) Display traces for the specified process ID.

terse

(Optional) Display briefer output for traces.

time time-elapsed

(Optional) Display traces for the specified elapsed time.

  • Range: 1 through 840 minutes

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show trace command. Output fields are listed in the approximate order in which they appear.

Table 1: show trace Output Fields

Field Name

Field Description

timestamp

Timestamp field in the following format: YYYY-MM-DD HH:MM:SS.123456789.

node

Node where trace message originated.

system-process

System process where trace message originated.

tracepoint

Tracepoint value of the trace message.

trace-level

Trace level of the trace message.

application

Application where trace message originated.

message-type

Message type of the trace message.

Function

Function name where the trace message was generated.

Message

Message associated with the tracepoint.

Sample Output

show trace

show trace application live

Release Information

Command introduced in Junos OS Evolved Release 18.3R1.