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:
No comments:
Post a Comment