show system core-dumps
Syntax
Syntax (EX Series Switch
Syntax (TX Matrix Router)
Syntax (TX Matrix Plus Router)
Release Information
Command introduced before Junos OS Release 8.5.
Command introduced in Junos OS Release 9.0 for EX Series switches.
sfc option introduced for the TX Matrix Plus router in Junos OS Release 9.6.
Description
Show core files on all routers or switches running Junos OS. You can use the show system core-dumps command to show a list of system core files created when the router or switch has failed. This command can be useful for diagnostic purposes. Each list item includes the file permissions, number of links, owner, group, size, modification date, and path/filename.
You can use the option core-filename and its options core-file-info, brief, and detail to display more information about the specified core-dump files.
Options
- none
Display a list of all existing core-dump files.
- all-chassis
(TX Matrix and TX Matrix Plus routers only) (Optional) Display system core files on all the T640 routers (in a routing matrix based on the TX Matrix router) or T1600 routers (in a routing matrix based on the TX Matrix Plus routing matrix) in the chassis.
- <all-lcc | lcc number>
(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display core dump files for all T640 routers (or line-card chassis) or a specific T640 router connected to the TX Matrix router. On a TX Matrix Plus router, display logging information about all T1600 routers (or line-card chassis) or a specific T1600 router connected to the TX Matrix Plus router. Replace number with a value from 0 through 3. .
- all-members
(EX4200 switches only) (Optional) Display system core files on all members of the Virtual Chassis configuration.
- brief
(Optional) View details of binary.
- core-file-info
(Optional) Display the stack trace of a core file.
- core-filename
(Optional) Name of a specific core file to display.
- detail
(Optional) View stack trace with details of binary.
- local
(EX4200 switches only) (Optional) Display system core files on the local Virtual Chassis member.
- member member-id
(EX4200 switches only) (Optional) Display system core files on the specified member of the Virtual Chassis configuration. Replace member-id with a value from 0 through 9.
- scc
(TX Matrix routers only) (Optional) Display system core files on the TX Matrix router (or switch-card chassis).
- sfc
(TX Matrix Plus routers only) (Optional) Display system core files on the TX Matrix Plus router (or switch-fabric chassis).
Required Privilege Level
view
List of Sample Output
show system core-dumpsshow system core-dumps
show system core-dumps (TX Matrix Plus Router)
Output Fields
Table 1 describes the output fields for the show system core-dumps command. Output fields are listed in the approximate order in which they appear.
Table 1: show system core-dumps Output Fields
Field Name | Field Description |
|---|---|
Permissions | Read/write permissions for the file named. |
Links | Number of links to the file. |
Owner | Name of the file owner. |
Group | Name of the group with file access. |
File size | File size in bytes. |
Modified | Last file modification date and time. |
Path/filename | File path where the file resides and the filename. |
Sample Output
show system core-dumps
This example shows the command output if core files exist.
user@host> show system core-dumps -rw------- 1 root wheel 268369920 Jun 18 17:59 /var/crash/vmcore.0 -rw-rw---- 1 root field 3371008 Jun 18 17:53 /var/tmp/rpd.core.0 -rw-r--r-- 1 root wheel 27775914 Jun 18 17:59 /var/crash/kernel.0
show system core-dumps
This example shows the command output if core files do not exist.
user@host> show system core-dumps /var/crash/*core*: No such file or directory /var/tmp/*core*: No such file or directory /var/crash/kernel.*: No such file or directory
show system core-dumps (TX Matrix Plus Router)
user@host> show system core-dumps sfc0-re0: -------------------------------------------------------------------------- /var/crash/kernel.*: No such file or directory /tftpboot/corefiles/*core*: No such file or directory /var/crash/cores: total 8 /var/tmp/cores: total 1627592 -rw-r--r-- 1 root field 535346090 May 15 07:36 rpd.core-tarball.0.090515.0736.tgz -rw-r--r-- 1 root field 105632057 May 15 07:37 rpd.core-tarball.1.090515.0737.tgz -rw-r--r-- 1 root field 101981681 May 15 07:38 rpd.core-tarball.2.090515.0738.tgz -rw-r--r-- 1 root field 85854573 May 15 07:40 rpd.core-tarball.3.090515.0740.tgz -rw-r--r-- 1 root field 4157845 May 15 08:18 rpd.core-tarball.4.090515.0818.tgz lcc0-re0: -------------------------------------------------------------------------- /var/crash/kernel.*: No such file or directory /tftpboot/corefiles/*core*: No such file or directory /var/crash/cores: total 8 /var/tmp/cores: total 12 lcc1-re0: -------------------------------------------------------------------------- /var/crash/kernel.*: No such file or directory /tftpboot/corefiles/*core*: No such file or directory /var/crash/cores: total 8 /var/tmp/cores: total 10024 -rw-r--r-- 1 root field 1875794 Apr 22 15:47 chassisd.core-tarball.0.090422.1547.tgz -rw-r--r-- 1 root field 1894183 Apr 22 19:02 chassisd.core-tarball.0.090422.1902.tgz -rw-r--r-- 1 root field 1290240 Apr 26 16:01 ksyncd_1558.core.0.090426.1601 lcc2-re0: -------------------------------------------------------------------------- /var/crash/kernel.*: No such file or directory /tftpboot/corefiles/*core*: No such file or directory /var/crash/cores: total 21124008 -rw-r--r-- 1 root wheel 1022376528 May 2 06:43 core-LCC2-EGFPC7.core.0.090502.0643 -rw-r--r-- 1 root wheel 1022376528 May 2 08:13 core-LCC2-EGFPC7.core.0.090502.0813 -rw-r--r-- 1 root wheel 1022376544 May 5 06:15 core-LCC2-EGFPC7.core.0.090505.0615 -rw-r--r-- 1 root wheel 1022376544 May 6 10:59 core-LCC2-EGFPC7.core.0.090506.1059 -rw-r--r-- 1 root wheel 1022376528 May 2 06:58 core-LCC2-EGFPC7.core.1.090502.0658 -rw-r--r-- 1 root wheel 754271232 May 5 06:33 core-LCC2-EGFPC7.core.1.090505.0633 -rw-r--r-- 1 root wheel 264897536 May 6 11:12 core-LCC2-EGFPC7.core.1.090506.1112 -rw-r--r-- 1 root wheel 1022376528 May 2 07:22 core-LCC2-EGFPC7.core.2.090502.0722 -rw-r--r-- 1 root wheel 163633152 May 5 06:52 core-LCC2-EGFPC7.core.2.090505.0652 -rw-r--r-- 1 root wheel 171312128 May 6 12:13 core-LCC2-EGFPC7.core.2.090506.1213 -rw-r--r-- 1 root wheel 1022376528 May 2 07:39 core-LCC2-EGFPC7.core.3.090502.0739 -rw-r--r-- 1 root wheel 1022376528 May 2 07:55 core-LCC2-EGFPC7.core.4.090502.0755 -rw-r--r-- 1 root wheel 427277312 May 7 04:47 core-LCC2-STFPC4.core.0.090507.0447 -rw-r--r-- 1 root wheel 419609600 May 7 04:47 core-LCC2-STFPC5.core.0.090507.0447 -rw-r--r-- 1 root wheel 432356352 May 7 04:47 core-LCC2-STFPC6.core.0.090507.0447 /var/tmp/cores: total 2568 -rw-r--r-- 1 root field 1290240 May 14 14:26 ksyncd_1540.core.0.090514.1426 ...
