338
undo monitor kernel starvation exclude-thread [ tid ] [ chassis chassis-number slot slot-number
[ cpu cpu-number ] ]
Default
Kernel thread starvation detection, if enabled, 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 a card by its slot number. If you do not specify this option, the active MPU
is specified. (Distributed devices in standalone mode.)
slot slot-number: Specifies an IRF member device by its ID. If you do not specify this option, the
master device is specified. (Centralized devices in IRF mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. If you do not
specify this option, the global active MPU is specified. (Distributed devices in IRF mode.)
cpu cpu-number: Specifies a CPU by its number. (Centralized devices in IRF mode/distributed
devices in IRF or standalone mode.)
Usage guidelines
You can disable kernel thread starvation detection for up to 128 kernel threads by executing the
command.
Inappropriate use of the command can cause service problems or system breakdown. Make sure
you understand the impact of the command on your network before you use it.
Examples
# Disable kernel thread starvation detection for kernel thread 15.
<Sysname> system-view
[Sysname] monitor kernel starvation exclude-thread 15
Related commands
display kernel starvation
display kernel starvation configuration
monitor kernel starvation time
monitor kernel starvation enable
monitor kernel starvation time
Use monitor kernel starvation time to set the interval for identifying a kernel thread starvation.
Use undo monitor kernel starvation time to restore the default.
Syntax
Centralized devices in standalone mode:
monitor kernel starvation time time
undo monitor kernel starvation time
Distributed devices in standalone mode/centralized devices in IRF mode: