centos-rhel服务器相关 / linux / 未分类 · 2016年8月13日

linux死机(当机)查看

[root@localhost ~]# last
root pts/0 192.168.1.104 Sat Aug 13 13:32 still logged in
reboot system boot 2.6.32-573.el6.x Sat Aug 13 13:31 – 13:34 (00:02)
root pts/0 192.168.1.104 Sat Aug 13 13:15 – crash (00:15)
[root@localhost ~]# grep crash /var/log/messages
#for 炸弹后的结果 crash
Aug 13 13:00:39 localhost kernel: crash memory driver: version 1.1
Aug 13 13:00:39 localhost kdump: No crashkernel parameter specified for running kernel
Aug 13 13:31:17 localhost kernel: Command line: ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=VolGroup/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
Aug 13 13:31:17 localhost kernel: crashkernel=auto resulted in zero bytes of reserved memory.
Aug 13 13:31:17 localhost kernel: crash memory driver: version 1.1
Aug 13 13:31:17 localhost kdump: No crashkernel parameter specified for running kernel
[root@localhost ~]# grep crash /var/log/boot.log