show cores

Use this command to list core files in the system or to display information about a given core file.

When cmlsh logged in via non-root user crashes, core files will not get generated. User can further debug the issue based on CLI-history and logs from /var/log/messages.

Command Syntax

Copy
show cores (|WORD details)

Parameters

WORD

Core file name

Command Mode

Execution mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

Copy
#show cores
Core location :/var/log/crash/cores
Core-File-Name
--------------
core_nsm.683_20191110_103611_signal_5.gz
core_nsm.712_20191107_171803_signal_11.gz
core_nsm.684_20191112_054937_signal_5.gz
core_yangcli.5695_20191107_171715_signal_11.gz

Here is the explanation of the show command output fields.

Table 55.

show cores fields

Entry

Description

Core-File-Name

Core dump file name.