Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    List the Core Files Generated After a Crash Occurs

    Purpose

    A vmcore file is only generated if the Routing Engine has a kernel crash. Kernel crashes can be generated by such things as a bug in the kernel software or bad memory. If the router has a kernel crash, the vmcore.<n> file is generated while the Routing Engine comes back up.

    Action

    A vmcore file is always saved in /var/crash/. To view the core file that is generated when a crash occurs, use the following command:

    user@host> file list /var/crash/ detail
    user@host> file list /var/crash/ detail
    /var/crash/:
    total 892856
    -rw-r--r--  1 root  wheel          2 May 14  2004 bounds
    -rw-r--r--  1 root  wheel   11959693 Oct 13  2003 kernel.0
    -rw-r--r--  1 root  wheel   10114127 May 14  2004 kernel.1
    -rw-r--r--  1 root  wheel          5 Feb 26  1997 minfree
    -rw-------  1 root  wheel  805240832 Oct 13  2003 vmcore.0
    -rw-------  1 root  wheel  805240832 May 14  2004 vmcore.1
    

    Meaning

    The command output lists the vmcore.<n> files that have been generated.

    Published: 2012-08-20