304
Because the core files consume system storage resources, you can disable core file generation for
processes for which you do not need to review exception information.
Examples
# Disable core file generation for process routed.
<Sysname> process core off name routed
# Enable core file generation for process routed and set the maximum number of core files to 5.
<Sysname> process core maxcore 5 name routed
Related commands
display exception context
exception filepath
reset exception context
Use reset exception context to clear context information for process exceptions.
Syntax
reset exception context [ slot slot-number [ cpu cpu-number ] ]
Views
User view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies an IRF member device by its ID. If you do not specify this option, the
command clears context information for process exceptions on the IRF master device.
cpu cpu-number: Specifies a CPU by its number.
Examples
# Clear context information for exceptions.
<Sysname> reset exception context
Related commands
display exception context
reset kernel deadloop
Use reset kernel deadloop to clear kernel thread deadloop information.
Syntax
reset kernel deadloop [ slot slot-number [ cpu cpu-number ] ]
Views
User view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies an IRF member device by its ID. If you do not specify this option, the
command clears kernel thread deadloop information for the master device.