R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference

281
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
In standalone mode:
monitor kernel starvation enable [ slot slot-number ]
undo monitor kernel starvation enable [ slot slot-number ]
In IRF mode:
monitor kernel starvation enable [ chassis chassis-number slot slot-number ]
undo monitor kernel starvation enable [ chassis chassis-number slot slot-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. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies an MPU on an IRF member device. If you do not
specify this option, the global active MPU is specified. (In IRF mode.)
Usage guidelines
Starvation occurs when a thread is unable to access shared resources.
This command enables the system to detect and report thread starvation. If a thread is not executed
within a specific interval, the system considers that a starvation has occurred, and outputs a starvation
message.
Thread starvation does not impact system operation. A starved thread can automatically run when
certain conditions are met.