GNU/Linux Command – DMESG

dmesg – Print or Control the kernel ring buffer
 
Summary :
dmesg is used to examine or control the kernel ring buffer. The program helps users to print out their boot-up messages.
 
Example:
$ dmesg -- Print the kernel boot-up messages.  $ dmesg > boot.log -- Redirect the output to a file.  # dmesg -c -- Clear the ring buffer after printing.  # dmesg -s4096 -- Set the kernel ring buffer size.  # dmesg -n1 -- Set the level at which logging of messagesdone to the console.

Levels:

  1. Action must be taken immediately
  2. Critical conditions
  3. Error conditions
  4. Warning conditions
  5. Normal but significant condition
  6. Informational
  7. Debug-level messages
  8. All

Read: man dmesg

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: