debian ubuntu 記錄系統啓動信息

  linux 記錄系統啓動的信息
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:ubuntu


# vi /etc/default/bootlogdide

To run bootlogd at startup set it as follows:this

BOOTLOGD_ENABLE=yes

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


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

原文:http://www.cyberciti.biz/faq/debian-ubuntu-record-boot-messages/ci

相關文章
相關標籤/搜索