Process and Memory Management Commands on Cisco IOS-XR Software
process core
SMR-282
Cisco IOS-XR System Management Command Reference
process core
To change the core dump options for a process, use the process core command in EXEC mode.
process {executable-name | job-id} core {mainmem | mainmem-sharedmem | mainmem-text |
mainmem-text-sharedmem | sharedmem | copy | off} [maxcore value] [location node-id]
Syntax Description
Defaults By default, processes are configured to dump shared memory, text area, stack, data section and heap.
Command Modes EXEC
Command History
Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper
task IDs. For detailed information about user groups and task IDs, refer to the Configuring AAA Services
on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
The modular architecture of the Cisco IOS-XR software allows core dumps for individual processes. By
default, processes are configured to dump shared memory, text area, stack, data section and heap.
executable-name Executable name of the process for which you want to change core
dump options. Specifying an executable-name value changes the core
dumping option for multiple instances of a running process.
job-id Job ID associated with the process instance. Specifying a job-id value
changes the core dumping option for only a single instance of a
running process.
core Indicates a core dump option change for the specified process.
mainmem Dumps the main memory of a crashed process.
mainmem-sharedmem Dumps the main memory and the shared memory of a crashed process.
mainmem-text Dumps the main memory and text of a crashed process.
mainmem-text-sharedmem Dumps the main memory, shared memory and text of a crashed
process.
sharedmem Dumps the shared memory of a crashed process.
copy Copies a core dump locally before performing the core dump.
off Indicates that a core dump will not be taken upon the termination of
the specified process.
maxcore value (Optional) Maximum number of core dumps allowed for the specified
process since its creation.
location node-id (Optional) Sets the core dump options to a designated node. The
node-id argument is entered in the rack/slot/module notation.
Release Modification
Release 2.0 This command was introduced.