[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dmesg: What file?



Sebastian Canagaratna wrote:
> Hi:  I was under the impression that the command dmesg just typed out the
> contents of /var/log/kern.log. This does not seem to be true. What is the
> file which dmesg is displaying?

It uses the klogd to display the information (kernel log daemon). Try
strace/ltrace'ing dmesg for example.

 -Remco


Reply to: