R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference

293
Default
A process generates a core file for the first exception and does not generate any core files for subsequent
exceptions.
Predefined user roles
network-admin
mdc-admin
Parameters
off: Disables core file generation.
maxcore value: Enables core file generation and sets the maximum number of core files, in the range of
1 to 10.
name process-name: Specifies a process by its name, a case-insensitive string of 1 to 15 characters. The
process core command applies to all instances of the process.
job job-id: Specifies a process by its job ID, in the range of 1 to 2147483647. The job ID does not change
after the process restarts.
slot slot-number: Specifies a card by its slot number. If you do not specify this option, the active MPU is
specified. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. If you do not specify
this option, the global active MPU is specified. (In IRF mode.)
Usage guidelines
One process generates one core file. Different processes generate multiple core files.
This command enables the system to generate a core file each time the specified process crashes until the
maximum number of core files is reached. A core file records 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
In standalone mode:
reset exception context [ slot slot-number]
In IRF mode:
reset exception context [ chassis chassis-number slot slot-number ]