196Task CommandDisplay memory usage for all user processes. display process memory [ chassis chassis-number slotslot-number [ cpu cpu-number ] ]Display heap memory usage for a user process.display process memory heap job job-id [ verbose ][ chassis chassis-number slot slot-number [ cpucpu-number ] ]Display the addresses of memory blocks with aspecified size used by a user process.display process memory heap job job-id sizememory-size [ offset offset-size ] [ chassischassis-number slot slot-number [ cpu cpu-number ] ]Display memory content starting from a specifiedmemory block for a user process.display process memory heap job job-id addressstarting-address length memory-length [ chassischassis-number slot slot-number [ cpu cpu-number ] ]Display context information for process exceptions. display exception context [ count value ] [ chassischassis-number slot slot-number [ cpu cpu-number ] ]Display the core file directory. display exception filepath [ chassis chassis-numberslot slot-number [ cpu cpu-number ] ]Enable or disable a process to generate core files forexceptions and set the maximum number of core files(which defaults to 1).process core { maxcore value | off } { job job-id |name process-name } [ chassis chassis-number slotslot-number [ cpu cpu-number ] ]Specify the directory for saving core files (the defaultdirectory is the root directory of the storage mediumon the global active MPU).exception filepath directoryClear context information for process exceptions. reset exception context [ chassis chassis-number slotslot-number [ cpu cpu-number ] ]Monitoring kernel threadsTasks in this section help you quickly identify thread deadloop and starvation problems and their causes.Configuring kernel thread deadloop detectionCAUTION:H3C recommends the default settings. Inappropriate configuration of kernel thread deadloop detectioncan cause service problems or system breakdown. Make sure you understand the impact of thisconfiguration on your network before you configure kernel thread deadloop detection.Kernel threads share resources. If a kernel thread monopolizes the CPU, other threads cannot run,resulting in a deadloop.This feature enables the device to detect deadloops. If a thread occupies the CPU for a specific interval,the device considers that a deadloop has occurred. It generates a deadloop message and reboots toremove the deadloop.To configure kernel thread deadloop detection (in standalone mode):