Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

System Troubleshooting

Saving Core Files Generated by Junos OS Processes

By default, when an internal Junos OS process generates a core file, the file and associated context information are saved for debugging purposes in a compressed tar file named /var/tmp/process-name.core.core-number.tgz. The contextual information includes the configuration and system log message files.

  • To disable the saving of core files and associated context information:

  • To save the core files only:

    Where number is the number of core files to save and can be a value from 1 through 10.

  • To save the core files along with the contextual information:

Viewing Core Files from Junos OS Processes

When an internal Junos OS process generates a core file, you can find the output at /var/crash/ and /var/tmp/. For Junos OS Evolved, you can find the output core files at /var/core/ for Routing Engine core files and /var/lib/ftp/in/ for FPC core files. Using these directories provides a quick method of finding core issues across large networks.

Use the CLI command show system core-dumps to view core files.