260
display kernel deadloop configuration
Use
display kernel deadloop configuration
to display kernel thread deadloop detection
configuration.
Syntax
In standalone mode:
display kernel deadloop configuration
[
slot
slot-number
[
cpu
cpu-number
] ]
In IRF mode:
display kernel deadloop configuration
[
chassis
chassis-number
slot
slot-number
[
cpu
cpu-number
] ]
Views
Any view
Predefined user roles
network-admin
mdc-admin
Parameters
slot
slot-number
: Specifies an MPU by its slot number. If you do not specify this option, the
command displays kernel thread deadloop detection configuration for the active MPU. (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 command displays kernel thread deadloop detection configuration for the
global active MPU. (In IRF mode.)
cpu
cpu-number
: Specifies a CPU by its number.
Examples
# Display kernel thread deadloop detection configuration.
<Sysname> display kernel deadloop configuration
Thread dead loop detection: Enabled
Dead loop timer (in seconds): 60
Threads excluded from monitoring: 1
TID: 15 Name: co0
Table 60 Command output
Field Description
Dead loop timer (in seconds):
n
Time interval (in seconds) to identify a kernel thread deadloop. A
kernel thread deadloop occurs if a kernel thread runs more than
n
seconds.
Threads excluded from monitoring
Kernel threads excluded from kernel thread deadloop detection. This
field appears only if the
monitor kernel deadloop exclude-thread
command is configured.
Name
Kernel thread name.
TID
Kernel thread number.
No thread is excluded from
monitoring
All kernel threads are monitored by kernel thread deadloop detection.