process-hang core-dump enable

Use this command to manage manual core dump generation during module hangs.

By default, the system generates a manual core dump for the Hardware Abstraction Layer (HSL) only when the Network Services Module (NSM) hangs. Enabling this command configures the system to generate manual core dumps for both the HSL and NSM modules if any monitored module hangs.

Use the no parameter of this command to disable the process-hang core-dump feature.

Manual core files are generated strictly for process hang scenarios and are not generated during unexpected module crashes.

Command Syntax

Copy
process-hang core-dump enable
no process-hang core-dump enable

Parameters

process-hang

Specifies the Process-related configuration

core-dump

Configure process core dump collection

enable

Collect core dumps for both HSL and NSM processes

Command Mode

Configure mode

Applicability

Iintroduced in OcNOS version 7.0.1

Examples

Copy
OcNOS#configure terminal
OcNOS(config)#process-hang core-dump enable
OcNOS(config)#commit
OcNOS(config)#exit

OcNOS#show running-config watchdog
process-hang core-dump enable