Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-10-2010, 09:21 AM   #1
Registered: Dec 2010
Posts: 40

Rep: Reputation: 0
what dmesg command in unix do?

what exactly is the use of dmesg ?
Old 12-10-2010, 09:23 AM   #2
Sayan Acharjee
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 623

Rep: Reputation: 64
Originally Posted by balakodoth View Post
what exactly is the use of dmesg ?
Read the man page:

#man dmesg
Old 12-10-2010, 09:25 AM   #3
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
The dmesg man page:
The program helps users to print out their bootup messages.  Instead of copying the
messages by hand, the user need only:
         dmesg > boot.messages
and mail the boot.messages file to whoever can debug their problem.
And, Google can be your friend here, Wikipedia at

Hope this helps some.
Old 12-10-2010, 12:08 PM   #4
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,398
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
If I told you that dmesg is probably a contraction of the words 'driver message', would that help? The linux kernel uses drivers to perform many tasks. When a driver has something to say, it does so by emitting messages which the syslog facility collects, and which the dmesg tool allows users to view. Most messages are emitted at boot time, when the drivers are initializing themselves and hardware. It is possible for drivers to emit messages at any time.

--- rod.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dmesg command vanished yuush Linux - General 3 07-23-2007 08:01 PM
dmesg (command) and /var/log/dmesg are different? Oxagast Linux - Software 2 07-10-2006 06:50 AM
serial and parallel port with DMESG command froglinux Linux - Hardware 1 06-16-2006 09:51 PM
Question about output of dmesg command. sarajevo Linux - Security 3 09-09-2005 04:44 AM
dmesg command not functioning IanS Linux - Newbie 1 02-21-2004 04:46 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration