LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-10-2010, 09:21 AM   #1
balakodoth
Member
 
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
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

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

Code:
#man dmesg
or

http://unixhelp.ed.ac.uk/CGI/man-cgi?dmesg+8
 
Old 12-10-2010, 09:25 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,479

Rep: Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020
The dmesg man page:
Code:
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 http://en.wikipedia.org/wiki/Dmesg.

Hope this helps some.
 
Old 12-10-2010, 12:08 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
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.
 
  


Reply


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


All times are GMT -5. The time now is 02:48 PM.

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