Is there a another way to remove all message in kernel log buffer? - Setup

This is a discussion on Is there a another way to remove all message in kernel log buffer? - Setup ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

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

  1. 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..



  2. 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
    , 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

+ Reply to Thread