[Contents] [Prev] [Next] [Index] [Report an Error]

show system core-dumps

Syntax

show system core-dumps
<core-filename>
<core-file-info>
<brief | detail>

Syntax (Routing Matrix)

show system core-dumps
<all-lcc | lcc number | scc>
<core-filename>
<core-file-info>
<brief | detail>

Release Information

Command introduced before JUNOS Release 8.5.

Description

Show core files on all JUNOS routing platforms. You can use the show system core-dumps command to show a list of system core files created when the router 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-lcc | lcc number | scc> — (Routing matrix only) (Optional) Display logging information about all T640 routing nodes (or line-card chassis) or a specific T640 routing node (replace number with a value from 0 through 3) connected to a TX Matrix platform. Or, display logging information about the TX Matrix platform (or switch-card chassis).

core-filename(Optional) Name of a specific core file to display.

core-file-info — (Optional) Display the stack trace of a core file.

brief — (Optional) View details of binary.

detail — (Optional) View stack trace with details of binary.

Required Privilege Level

view

List of Sample Output

show system core-dumps
show system core-dumps

Output Fields

Table 121 describes the output fields for the show system core-dumps command. Output fields are listed in the approximate order in which they appear.

Table 121: 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.

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

[Contents] [Prev] [Next] [Index] [Report an Error]