284
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
In standalone mode:
monitor kernel deadloop exclude-thread
tid
[
slot
slot-number
[
cpu
cpu-number
] ]
undo monitor kernel deadloop exclude-thread
[
tid
] [
slot
slot-number
[
cpu
cpu-number
] ]
In IRF mode:
monitor kernel deadloop exclude-thread
tid
[
chassis
chassis-number
slot
slot-number
[
cpu
cpu-number
] ]
undo monitor kernel deadloop exclude-thread
[
tid
]
[
chassis
chassis-number
slot
slot-number
[
cpu
cpu-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. (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.)
cpu
cpu-number
: Specifies a CPU by its number.
Usage guidelines
You can disable kernel thread deadloop 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 deadloop detection for kernel thread 15.
<Sysname> system-view
[Sysname]monitor kernel deadloop exclude-thread 15
Related commands
display kernel deadloop configuration
display kernel deadloop
monitor kernel deadloop enable