Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show flight-recorder status

Syntax

Description

Display the current status of the flight recorder tool and associated parameters, such as the running status of the tool, and the current data snapshot list.

Options

This command has no options.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show flight-recorder status command. Output fields are listed in the approximate order in which they appear.

Table 1: show flight-recorder status Output Fields

Field Name

Field Description

Flight-recorder status

State of the flight recorder tool:

  • Running—The flight recorder tool is enabled using the request flight-recorder set high-cpu command.

  • Not Running—The flight recorder tool is not enabled. By default, the flight recorder tool is disabled.

Recent Parameter Data

Information about configured parameters for the flight recorder tool:

  • Cpu-threshold—Specify the maximum value of CPU utilization in percentage, beyond which the collection of data is triggered.

  • Polling-frequency—Specify the time in seconds for polling for high CPU utilization.

  • Backoff-duration—Specify the time interval in seconds between two snapshots of data.

  • Num-snapshots—Specify the number of snapshots of data to be collected before quitting the collection process.

Flags set

Information about additional flags configured for the flight recorder tool:

  • Collect-core—Perform snapshot collection of the running core with every snapshot of data taken.

  • Logical System—Enable data collection on logical systems.

Snapshot Directory

Log file that is recorded and saved in the flight recorder directory.

The recorded snapshots and core log files are saved in a folder under the /var/log/flight_recorder/ directory. The folder format is Flr_MONTH_DD_YYYY_HH:MM:SS; for example, Flr_May_09_2018_02:20:50.

List of snapshots

List of log files recorded and saved under the flight recorder directory.

Sample Output

show flight-recorder status

Release Information

Command introduced in Junos OS Release 18.2R1.