Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show flight-recorder status

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show flight-recorder status

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

content_copy zoom_out_map
user@host> show flight-recorder status
Flight-recorder status: Not Running!

Recent Parameter Data:
Cpu-threshold           10
Polling-frequency       5
Backoff-duration        10
Num-snapshots           3

Flags set:
Collect-core flag is set
Logical System flag is Not set (default)

Snapshot Directory : Flr_Feb_22_2018_13:26:41

List of snapshots:
 flr_2018-02-22_13:26:41.txt
 flr_2018-02-22_13:27:04.txt
 flr_2018-02-22_13:27:28.txt

Release Information

Command introduced in Junos OS Release 18.2R1.

footer-navigation