40

dmesg命令-ghosts-51CTO博客

 6 years ago
source link: http://blog.51cto.com/13559120/2070010
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
dmesg命令被用于检查和控制内核的环形缓冲区。kernel会将开机信息存储在ringbuffer中。您若是开机时来不及查看信息,可利用dmesg来查看。开机信息保存在/var/log/dmesg文件里。语法dmesg(选项)选项-c:显示信息后,清除ringbuffer中的内容;-s<缓冲区大小>:预设置为8196,刚好等于ringbuffer的大小;-n:设置记录信息的层级。实例[

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK