305
display kernel deadloop
Use display kernel deadloop to display kernel thread deadloop information.
Syntax
Centralized devices in standalone mode:
display kernel deadloop show-number [ offset ] [ verbose ]
Distributed devices in standalone mode/centralized devices in IRF mode:
display kernel deadloop show-number [ offset ] [ verbose ] [ slot slot-number [ cpu cpu-number ] ]
Distributed devices in IRF mode:
display kernel deadloop show-number [ offset ] [ verbose ] [ chassis chassis-number slot
slot-number [ cpu cpu-number ] ]
Views
Any view
Predefined user roles
network-admin
Parameters
show-number: Specifies the number of deadloops to display, in the range of 1 to 10.
offset: Specifies the offset between the starting deadloop and the latest deadloop, in the range of 0 to
9. The default value is 0.
verbose: Displays detailed information. If you do not specify this keyword, the command displays
brief information.
slot slot-number: Specifies an MPU by its slot number. If you do not specify this option, the
command displays kernel thread deadloop information for the active MPU. (Distributed devices in
standalone mode.)
slot slot-number: Specifies an IRF member device by its ID. If you do not specify this option, the
command displays kernel thread deadloop information for the master device. (Centralized devices in
IRF 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 information for the global
active MPU. (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.)
Examples
# Display brief information about the latest kernel thread deadloop.
<Sysname> display kernel deadloop 1
----------------- Deadloop record 1 -----------------
Description : BUG: soft lockup - CPU#0 stuck for 61! [comsh: 16306]
Recorded at : 2013-05-01 11:16:00.823018
Occurred at : 2013-05-01 11:16:00.823018
Instruction address : 0x4004158c
Thread : comsh (TID: 16306)
Context : thread context
Chassis : 0
Slot : 0
Cpu : 0