274
display kernel reboot
Use
display kernel reboot
to display kernel thread reboot information.
Syntax
display kernel reboot show-number
[
offset
] [
verbose
] [
slot
slot-number
[
cpu
cpu-number
] ]
Views
Any view
Predefined user roles
network-admin
Parameters
show-number
: Specifies the number of kernel thread reboots to display, in the range of 1 to 20.
offset
: Specifies the offset between the starting reboot and the latest reboot, in the range of 0 to 19.
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 IRF member device by its ID. If you do not specify this option, the
command displays kernel thread reboot information for the master device.
cpu
cpu-number
: Specifies a CPU by its number.
Examples
# Display brief information about the latest kernel thread reboot.
<Sysname> display kernel reboot 1
----------------- Reboot record 1 -----------------
Recorded at : 2013-05-01 11:16:00.823018
Occurred at : 2013-05-01 11:16:00.823018
Reason : 0x31
Thread : comsh (TID: 16306)
Context : thread context
Slot : 1
CPU ID : 0
Kernel module info : module name (mrpnc) module address (0xe332a000)
module name (12500) module address (0xe00bd000)
# Display detailed information about the latest kernel thread reboot.
<Sysname> display kernel reboot 1 verbose
----------------- Reboot record 1 -----------------
Recorded at : 2013-05-01 11:16:00.823018
Occurred at : 2013-05-01 11:16:00.823018
Reason : 0x31
Thread : comsh (TID: 16306)
Context : thread context
Slot : 1
CPU ID : 0
Kernel module info : module name (mrpnc) module address (0xe332a000)
module name (12500) module address (0xe00bd000)
Last 5 thread switches : migration/0 (11:16:00.823018)-->