Is there a another way to remove all message in kernel log buffer?
Hi...
I can see kernel log message by running "dmesg"....after boot..
As I know there is log buffer for this dmesg command...
I'd like to make it empty?
is there a another way to remove all message in kernel log buffer?
Thanks..
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@news2.kornet.net>, google-rambo88 wrote:
[color=blue]
> I can see kernel log message by running "dmesg"....after boot..
> As I know there is log buffer for this dmesg command...[/color]
[compton ~]$ whatis dmesg
dmesg (8) - print or control the kernel ring buffer
[compton ~]$
[color=blue]
> I'd like to make it empty?[/color]
Why? Did you look at the 'dmesg' manual page?
[color=blue]
> is there a another way to remove all message in kernel log buffer?[/color]
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