290
Views
System view
Predefined user roles
network-admin
Parameters
reboot: Logs the event and reboots the specified slot or CPU.
record-only: Logs the event.
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member
device, this command specifies the action for the master device.
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
Inappropriate use of the command can cause service problems or system breakdown. A good
practice is not to use this command. If you still want to use this command, make sure you understand
the impact of the command on your network before you use it.
Examples
# Set the kernel thread deadloop protection action to reboot for slot 1.
<Sysname> system-view
[Sysname] monitor kernel deadloop action reboot slot 1
Related commands
display kernel deadloop configuration
monitor kernel deadloop enable
monitor kernel deadloop enable
Use monitor kernel deadloop enable to enable kernel thread deadloop detection.
Use undo monitor kernel deadloop enable to disable kernel thread deadloop detection.
Syntax
monitor kernel deadloop enable [ slot slot-number [ cpu cpu-number [ core
core-number&<1-64> ] ] ]
undo monitor kernel deadloop enable [ slot slot-number [ cpu cpu-number ] ]
Default
Kernel thread deadloop detection is enabled.
Views
System view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies an IRF member device by its ID. If you do not specify this option, the
master device is specified.
cpu cpu-number: Specifies a CPU by its number.
core core-number&<1-64> ]: Specifies a maximum of 64 CPU cores. If you do not specify this option,
the command applies to all cores of the specified CPU.