Re: Is there a another way to remove all message in kernel log buffer?



On Fri, 29 Jun 2007, in the Usenet newsgroup comp.os.linux.setup, in article
<f62net$kor$1@xxxxxxxxxxxxxxxx>, google-rambo88 wrote:

I can see kernel log message by running "dmesg"....after boot..
As I know there is log buffer for this dmesg command...

[compton ~]$ whatis dmesg
dmesg (8) - print or control the kernel ring buffer
[compton ~]$

I'd like to make it empty?

Why? Did you look at the 'dmesg' manual page?

is there a another way to remove all message in kernel log buffer?

dmesg -c > /dev/null

Don't forget that many distributions dump the ring buffer to a file on
boot - see the startup scripts for your unnamed distribution.

Old guy
.