R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)
283
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
If a kernel thread runs for the specified interval, kernel thread deadloop detection considers that a
deadloop has occurred. The system records the deadloop and restarts.
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
# Set the interval for identifying a kernel thread deadloop to 8 seconds.
<Sysname> system-view
[Sysname] monitor kernel deadloop time 8
Related commands
• display kernel deadloop configuration
• display kernel deadloop
• monitor kernel deadloop enable
• monitor kernel deadloop exclude-thread
monitor kernel starvation enable
Use monitor kernel starvation enable to enable kernel thread starvation detection.
Use undo monitor kernel starvation enable to disable kernel thread starvation detection.
Syntax
MSR2000/MSR3000:
monitor kernel starvation enable
undo monitor kernel starvation enable
MSR4000:
monitor kernel starvation enable [ slot slot-number [ cpu cpu-number ] ]
undo monitor kernel starvation enable [ slot slot-number [ cpu cpu-number ] ]
Default
Kernel thread starvation detection is disabled.
Views
System view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies an MPU by its slot number. If you do not specify this option, the active MPU is
specified. (MSR4000.)
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
Starvation occurs when a thread is unable to access shared resources.