内核日志(dmesg和alog)。
Listing 7. Disk error from dmesg.
清单7.dmesg的磁盘错误。
Listing 6. The dmesg log contents.
清单6.dmesg日志内容。
dmesg很有意思。
Another useful Linux command is dmesg, as shown in Listing 4.
另一个有用的Linux命令是dmesg,如清单4所示。
Listing 6 shows the output of the last few messages from dmesg.
清单6给出了dmesg显示的最后几条消息。
Man dmesg isn't all that helpful if you're not a kernel hacker.
如果您不是对内核特别熟悉,man dmesg没有什么用处。
The printk function and dmesg methods are common means for kernel debugging.
printk函数和dmesg方法都是用来进行内核调试的常用方法。
Just using dmesg | grep is a useful troubleshooting and system discovery tool.
只要使用dmesg |grep,您会发现这是一个有用的故障检修和系统发现工具。
The dmesg command can also be used to print and control the kernel ring buffer.
dmesg命令也可用于打印和控制内核环缓冲区。
To get a quick view of the boot log for the last system boot, use the command dmesg.
使用dmesg命令可以快速查看最后一次系统引导的引导日志。
For example, Listing 6 shows some sample output from dmesg on a Gentoo Linux system.
例如,清单6显示了GentooLinux系统上dmesg的一些示例输出。
As you can see, there is also POWER specific information that is gleaned from the dmesg command.
可以看到,还存在从dmesg命令中收集到的特定于POWER的信息。
You may display the kernel ring buffer using the dmesg command, which displays these messages on standard output.
可以使用dmesg命令显示内核环缓冲区,会在标准输出上显示这些消息。
This can mean that certain pieces of information, such as internal data on devices and hardware, is only available through the dmesg log.
这意味着某些信息(如关于设备和硬件的内部数据)只能通过dmesg日志提供。
But in the case of a serious fault or failure, dmesg can sometimes be your only good source of information on what is happening on your system.
但是,在出现严重错误或故障的情况下,dmesg有时可能是系统上所发生情况的唯一良好的信息源。
But in the case of a serious fault or failure, dmesg can sometimes be your only good source of information on what is happening on your system.
但是,在出现严重错误或故障的情况下,dmesg有时可能是系统上所发生情况的唯一良好的信息源。
应用推荐