
198
Step Command
Remarks
2.
Enable kernel thread
starvation detection.
monitor kernel starvation enable
[
slot
slot-number
[
cpu
cpu-number
] ]
By default, the function is
disabled.
3.
(Optional.) Set the interval
for identifying a kernel
thread starvation.
monitor kernel starvation time
interval
[
slot
slot-number
[
cpu
cpu-number
] ]
The default is 120 seconds.
4.
(Optional.) Disable kernel
thread starvation detection
for a kernel thread.
monitor kernel starvation exclude-thread
tid
[
slot
slot-number
[
cpu
cpu-number
] ]
After enabled, kernel thread
starvation detection monitors
all kernel threads by default.
To configure kernel thread starvation detection (in IRF mode):
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable kernel thread
starvation detection.
monitor kernel starvation enable
[
chassis
chassis-number
slot
slot-number
[
cpu
cpu-number
] ]
By default, the function is
disabled.
3.
(Optional.) Set the interval
for identifying a kernel
thread starvation.
monitor kernel starvation time
interval
[
chassis
chassis-number
slot
slot-number
[
cpu
cpu-number
] ]
The default is 120 seconds.
4.
(Optional.) Disable kernel
thread starvation detection
for a kernel thread.
monitor kernel starvation exclude-thread
tid
[
chassis
chassis-number
slot
slot-number
[
cpu
cpu-number
] ]
After enabled, kernel thread
starvation detection monitors
all kernel threads by default.
Displaying and maintaining kernel threads
Execute
display
commands in any view and
reset
commands in user view (in standalone mode).
Task Command
Display kernel thread deadloop information.
display kernel deadloop
show-number
[
offset
] [
verbose
]
[
slot
slot-number
[
cpu
cpu-number
] ]
Display kernel thread deadloop detection
configuration.
display kernel deadloop configuration
[
slot
slot-number
[
cpu
cpu-number
] ]
Display kernel thread exception information.
display kernel exception
show-number
[
offset
] [
verbose
]
[
slot
slot-number
[
cpu
cpu-number
] ]
Display kernel thread reboot information.
display kernel reboot
show-number
[
offset
] [
verbose
] [
slot
slot-number
[
cpu
cpu-number
] ]
Display kernel thread starvation information.
display kernel starvation
show-number
[
offset
] [
verbose
]
[
slot
slot-number
[
cpu
cpu-number
] ]
Display kernel thread starvation detection
configuration.
display kernel starvation configuration
[
slot
slot-number
[
cpu
cpu-number
] ]
Clear kernel thread deadloop information.
reset kernel deadloop
[
slot
slot-number
[
cpu
cpu-number
] ]
Clear kernel thread exception information.
reset kernel exception
[
slot
slot-number
[
cpu
cpu-number
] ]
Clear kernel thread reboot information.
reset kernel reboot
[
slot
slot-number
[
cpu
cpu-number
] ]