Step out from LINUX issue

Total Pageviews

21,410

Wednesday, 21 May 2014

What is dmesg command and how to use it in Linux/Unix?

What is dmesg command and how to use it in Linux/Unix?

Example 1: Display all the devices drivers loaded in to kernel.
dmesg
The above command will give as all the hardware drivers loaded in to kernel, their status success or failed and even error message why they are failed.
Example2: Display hardware information related to Ethernet port eth0
dmesg | grep -i eth0
Clipped Output:
[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.5.0-25-generic (buildd@komainu) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #39-Ubuntu SMP Mon Feb 25 18:26:58 UTC 2013 (Ubuntu 3.5.0-25.39-generic 3.5.7.4)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.5.0-25-generic root=UUID=9b1dca12-2bf6-47d3-ab45-929f85bec913 ro quiet splash vt.handoff=7
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] e820: BIOS-provided physical RAM map:

Posted by Unknown at 09:38
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Followers

Blog Archive

  • ►  2018 (3)
    • ►  November (2)
    • ►  July (1)
  • ►  2017 (3)
    • ►  April (3)
  • ►  2015 (3)
    • ►  July (3)
  • ▼  2014 (39)
    • ►  August (2)
    • ►  July (3)
    • ►  June (11)
    • ▼  May (4)
      • What is dmesg command and how to use it in Linux/U...
      • How to run multiple Tomcat instances on single Lin...
      • To Emulate network traffic we will be using this c...
      • How to implement ip forwarding in Linux
    • ►  April (4)
    • ►  February (12)
    • ►  January (3)
  • ►  2012 (2)
    • ►  July (2)

About Me

Unknown
View my complete profile

Wikipedia

Search results

Simple theme. Powered by Blogger.

Contact Form

Name

Email *

Message *