debian ubuntu 记录系统启动信息

linux 记录系统启动的信息

You need to use the bootlogd to record boot messages to a file called /var/log/boot. However, this is turned off by default. Edit /etc/default/bootlogd, enter:


# vi /etc/default/bootlogd

To run bootlogd at startup set it as follows:

BOOTLOGD_ENABLE=yes

After reboot you can see message in /var/log/boot:


# tail -f /var/log/boot
OR
# egrep -iw 'word1|err|warn' /var/log/boot

本文转自守住每一天51CTO博客,原文链接:http://blog.51cto.com/liuyu/278032,如需转载请自行联系原作者

上一篇:大型网站系统与Java中间件实践


下一篇:Apache Kylin权威指南3.2 设计增量Cube