HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference
298
This command 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 outputs a deadloop message and reboots
to remove the deadloop.
Inappropriate use of this command can cause service problems or system breakdown. Make sure you
understand the impact of this command on your network before you use it.
Examples
# Enable kernel thread deadloop detection.
<Sysname> system-view
[Sysname] monitor kernel deadloop enable
Related commands
• display kernel deadloop
• display kernel deadloop configuration
• monitor kernel deadloop exclude-thread
• monitor kernel deadloop time
monitor kernel deadloop exclude-thread
Use monitor kernel deadloop exclude-thread to disable kernel thread deadloop detection for a kernel
thread.
Use undo monitor kernel deadloop exclude-thread to enable kernel thread deadloop detection for a
kernel thread.
Syntax
MSR2000/MSR3000:
monitor kernel deadloop exclude-thread tid
undo monitor kernel deadloop exclude-thread [ tid ]
MSR4000:
monitor kernel deadloop exclude-thread tid [ slot slot-number ]
undo monitor kernel deadloop exclude-thread [ tid ] [ slot slot-number ]
Default
Kernel thread deadloop detection monitors all kernel threads.
Views
System view
Predefined user roles
network-admin
Parameters
tid: Specifies a kernel thread by its ID, in the range of 1 to 2147483647. If no kernel thread is specified
for the undo command, the default is restored.
slot slot-number: Specifies an MPU by its slot number. If you do not specify this option, the active MPU is
specified. (MSR4000.)