ubase

suckless linux base utils
git clone git://git.suckless.org/ubase
Log | Files | Refs | README | LICENSE

dmesg.1 (594B)


      1 .Dd February 2, 2015
      2 .Dt DMESG 1
      3 .Os ubase
      4 .Sh NAME
      5 .Nm dmesg
      6 .Nd print or control the kernel ring buffer
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Op Fl Ccr
     10 .Op Fl n Ar level
     11 .Sh DESCRIPTION
     12 .Nm
     13 examines or controls the kernel ring buffer. By default it reads all the
     14 messages from the kernel ring buffer and prints them to stdout.
     15 .Sh OPTIONS
     16 .Bl -tag -width Ds
     17 .It Fl C
     18 Clear the ring buffer.
     19 .It Fl c
     20 Clear the ring buffer after printing its contents.
     21 .It Fl n Ar level
     22 Set the console
     23 .Ar level .
     24 The log levels are defined in the file
     25 .Pa include/linux/kern_levels.h .
     26 .It Fl r
     27 Print the raw message buffer.
     28 .El