root@root:~# lsscsi
[1:0:1:0]    disk    ATA      WDC WD5000AAKX-0 1H15  /dev/sda

It is always a good practice to know the hardware components of your Linux system is running on, this helps you to deal with compatibility issues when it comes to installing packages, drivers on your system.

1. How to View Linux System Information

To know only system name, you can use uname command without any switch will print system information or uname -s command will print the kernel name of your system.

root@root:~# uname
Linux

To view your network hostname, use ‘-n’ switch with uname command as shown.

root@root:~# uname -n
root

To get information about kernel-version, use ‘-v’ switch.

root@root:~# uname -v
#1 SMP Debian 4.8.15-1kali1 (2016-12-23)

To get the information about your kernel release, use ‘-r’ switch.

root@root:~# uname -r
4.8.0-kali2-amd64

To print your machine hardware name, use ‘-m’ switch:

root@root:~# uname -m
x86_64

All this information can be printed at once by running ‘uname -a’ command as shown below.

root@root:~# uname -a
Linux root 4.8.0-kali2-amd64 #1 SMP Debian 4.8.15-1kali1 (2016-12-23) x86_64 GN/Linux


Other Useful Commands

1. root@root:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
stepping : 7
microcode : 0x29
cpu MHz : 1599.951
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
bugs :
bogomips : 6185.38
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
stepping : 7
microcode : 0x29
cpu MHz : 1599.951
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
bugs :
bogomips : 6186.24
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
stepping : 7
microcode : 0x29
cpu MHz : 1600.140
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
bugs :
bogomips : 6186.79
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
stepping : 7
microcode : 0x29
cpu MHz : 1599.951
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
bugs :
bogomips : 6186.36
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

2. root@root:~# cat /proc/meminfo
MemTotal:        8093708 kB
MemFree:          983320 kB
MemAvailable:    6368700 kB
Buffers:           93604 kB
Cached:          5321064 kB
SwapCached:           24 kB
Active:          2443416 kB
Inactive:        4069016 kB
Active(anon):     998832 kB
Inactive(anon):   295756 kB
Active(file):    1444584 kB
Inactive(file):  3773260 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       8105980 kB
SwapFree:        8105920 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:       1097748 kB
Mapped:           252088 kB
Shmem:            196816 kB
Slab:             512848 kB
SReclaimable:     470860 kB
SUnreclaim:        41988 kB
KernelStack:        6848 kB
PageTables:        30168 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    12152832 kB
Committed_AS:    4485464 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:      2048 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      112128 kB
DirectMap2M:     8192000 kB

3. root@root:~# more /proc/cpuinfo | grep "model name"
model name      : Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
model name      : Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
model name      : Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
model name      : Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz

4. root@root:~# getconf LONG_BIT
64

5. free -m
              total        used        free      shared  buff/cache   available
Mem:           7904        1196         960         192        5747        6219
Swap:          7915           0        7915

6. root@root:~# more /proc/version
Linux version 4.8.0-kali2-amd64 (devel@kali.org) (gcc version 5.4.1 20161202 (Debian 5.4.1-4) ) #1 SMP Debian 4.8.15-1kali1 (2016-12-23)

7. root@root:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 791M 9.4M 782M 2% /run
/dev/sda1 130G 16G 108G 13% /
tmpfs 3.9G 124K 3.9G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 791M 20K 791M 1% /run/user/132
tmpfs 791M 28K 791M 1% /run/user/0

2. How to View Linux System Hardware Information

Here you can use the lshw tool to gather vast information about your hardware components such as cpu, disks, memory, usb controllers etc.

lshw is a relatively small tool and there are few options that you can use with it while extracting information. The information provided by lshw gathered form different /proc files.
To install this tool : apt-get install lshw

Note: Do remember that the lshw command executed by superuser (root) or sudo user.

To print information about your Linux system hardware, run this command.

root@root:~# lshw
root
description: Desktop Computer
product: H67MA-USB3-B3
vendor: Gigabyte Technology Co., Ltd.
width: 64 bits
capabilities: smbios-2.4 dmi-2.4 smp vsyscall32
configuration: boot=normal chassis=desktop uuid=00000000-0000-0000-0000-50E549C405DD
*-core
description: Motherboard
product: H67MA-USB3-B3
vendor: Gigabyte Technology Co., Ltd.
physical id: 0
version: x.x
*-firmware
description: BIOS
vendor: Award Software International, Inc.
physical id: 0
version: F4
date: 10/27/2011
size: 128KiB
capacity: 4032KiB
capabilities: pci pnp upgrade shadowing cdboot bootselect edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb biosbootspecification
*-cpu
description: CPU
product: Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: Intel(R) Core(TM) i3-2100 CPU
slot: Socket 1155
size: 1713MHz
capacity: 4GHz
width: 64 bits
clock: 100MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts cpufreq
*-cache:0
description: L1 cache
physical id: a
slot: Internal Cache
size: 64KiB
capacity: 64KiB
capabilities: synchronous internal write-back
configuration: level=1
*-cache:1
description: L2 cache
physical id: b
slot: External Cache
size: 3MiB
capabilities: synchronous internal write-back
configuration: level=2
*-memory
description: System Memory
physical id: 17
slot: System board or motherboard
size: 8GiB
*-bank:0
description: DIMM 1333 MHz (0.8 ns)
physical id: 0
slot: A0
size: 4GiB
width: 2244 bits
clock: 1333MHz (0.8ns)
*-bank:1
description: DIMM 1333 MHz (0.8 ns)
physical id: 1
slot: A1
size: 4GiB
width: 196 bits
clock: 1333MHz (0.8ns)
*-bank:2
description: DIMM [empty]
physical id: 2
slot: A2
*-bank:3
description: DIMM [empty]
physical id: 3
slot: A3
*-pci
description: Host bridge
product: 2nd Generation Core Processor Family DRAM Controller
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 09
width: 32 bits
clock: 33MHz
configuration: driver=snb_uncore
resources: irq:0
*-display
description: VGA compatible controller
product: 2nd Generation Core Processor Family Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:27 memory:fb800000-fbbfffff memory:e0000000-efffffff ioport:ff00(size=64) memory:c0000-dffff
*-communication
description: Communication controller
product: 6 Series/C200 Series Chipset Family MEI Controller #1
vendor: Intel Corporation
physical id: 16
bus info: pci@0000:00:16.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=mei_me latency=0
resources: irq:26 memory:fbfff000-fbfff00f
*-usb:0
description: USB controller
product: 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2
vendor: Intel Corporation
physical id: 1a
bus info: pci@0000:00:1a.0
version: 05
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci-pci latency=0
resources: irq:18 memory:fbffe000-fbffe3ff
*-usbhost
product: EHCI Host Controller
vendor: Linux 4.8.0-kali2-amd64 ehci_hcd
physical id: 1
bus info: usb@1
logical name: usb1
version: 4.08
capabilities: usb-2.00
configuration: driver=hub slots=2 speed=480Mbit/s
*-usb
description: USB hub
product: Integrated Rate Matching Hub
vendor: Intel Corp.
physical id: 1
bus info: usb@1:1
version: 0.00
capabilities: usb-2.00
configuration: driver=hub slots=6 speed=480Mbit/s
*-usb:0
description: Mouse
product: Usb Mouse
vendor: SIGMACHIP
physical id: 1
bus info: usb@1:1.1
version: 1.10
capabilities: usb-1.10
configuration: driver=usbhid maxpower=98mA speed=2Mbit/s
*-usb:1
description: Keyboard
product: USB Keyboard
physical id: 2
bus info: usb@1:1.2
version: 4.06
capabilities: usb-1.10
configuration: driver=usbhid maxpower=100mA speed=2Mbit/s
*-multimedia
description: Audio device
product: 6 Series/C200 Series Chipset Family High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:28 memory:fbff8000-fbffbfff
*-pci:0
description: PCI bridge
product: 6 Series/C200 Series Chipset Family PCI Express Root Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: b5
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode cap_list
configuration: driver=pcieport
resources: irq:16 ioport:2000(size=4096) memory:dfa00000-dfbfffff ioport:dfc00000(size=2097152)
*-pci:1
description: PCI bridge
product: 6 Series/C200 Series Chipset Family PCI Express Root Port 7
vendor: Intel Corporation
physical id: 1c.6
bus info: pci@0000:00:1c.6
version: b5
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:18 ioport:e000(size=4096) ioport:fbe00000(size=1048576)
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 06
serial: 50:e5:49:c4:05:dd
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=192.168.0.107 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:24 ioport:ee00(size=256) memory:fbeff000-fbefffff memory:fbef8000-fbefbfff
*-pci:2
description: PCI bridge
product: 6 Series/C200 Series Chipset Family PCI Express Root Port 8
vendor: Intel Corporation
physical id: 1c.7
bus info: pci@0000:00:1c.7
version: b5
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:19 memory:fbd00000-fbdfffff
*-usb
description: USB controller
product: EJ168 USB 3.0 Host Controller
vendor: Etron Technology, Inc.
physical id: 0
bus info: pci@0000:03:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:25 memory:fbdf8000-fbdfffff
*-usbhost:0
product: xHCI Host Controller
vendor: Linux 4.8.0-kali2-amd64 xhci-hcd
physical id: 0
bus info: usb@2
logical name: usb2
version: 4.08
capabilities: usb-2.00
configuration: driver=hub slots=2 speed=480Mbit/s
*-usbhost:1
product: xHCI Host Controller
vendor: Linux 4.8.0-kali2-amd64 xhci-hcd
physical id: 1
bus info: usb@3
logical name: usb3
version: 4.08
capabilities: usb-3.00
configuration: driver=hub slots=2 speed=5000Mbit/s
*-usb:1
description: USB controller
product: 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 05
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci-pci latency=0
resources: irq:23 memory:fbffd000-fbffd3ff
*-usbhost
product: EHCI Host Controller
vendor: Linux 4.8.0-kali2-amd64 ehci_hcd
physical id: 1
bus info: usb@4
logical name: usb4
version: 4.08
capabilities: usb-2.00
configuration: driver=hub slots=2 speed=480Mbit/s
*-usb
description: USB hub
product: Integrated Rate Matching Hub
vendor: Intel Corp.
physical id: 1
bus info: usb@4:1
version: 0.00
capabilities: usb-2.00
configuration: driver=hub slots=8 speed=480Mbit/s
*-pci:3
description: PCI bridge
product: 82801 PCI Bridge
vendor: Intel Corporation
physical id: 1e
bus info: pci@0000:00:1e.0
version: a5
width: 32 bits
clock: 33MHz
capabilities: pci subtractive_decode cap_list
*-isa
description: ISA bridge
product: H67 Express Chipset Family LPC Controller
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 05
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: driver=lpc_ich latency=0
resources: irq:0
*-ide:0
description: IDE interface
product: 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 05
width: 32 bits
clock: 66MHz
capabilities: ide pm bus_master cap_list
configuration: driver=ata_piix latency=0
resources: irq:19 ioport:fe00(size=8) ioport:fd00(size=4) ioport:fc00(size=8) ioport:fb00(size=4) ioport:fa00(size=16) ioport:f900(size=16)
*-serial
description: SMBus
product: 6 Series/C200 Series Chipset Family SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 05
width: 64 bits
clock: 33MHz
configuration: driver=i801_smbus latency=0
resources: irq:18 memory:fbffc000-fbffc0ff ioport:500(size=32)
*-ide:1
description: IDE interface
product: 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller
vendor: Intel Corporation
physical id: 1f.5
bus info: pci@0000:00:1f.5
version: 05
width: 32 bits
clock: 66MHz
capabilities: ide pm bus_master cap_list
configuration: driver=ata_piix latency=0
resources: irq:19 ioport:f700(size=8) ioport:f600(size=4) ioport:f500(size=8) ioport:f400(size=4) ioport:f300(size=16) ioport:f200(size=16)
*-scsi
physical id: 1
logical name: scsi1
capabilities: emulated
*-disk
description: ATA Disk
product: WDC WD5000AAKX-0
vendor: Western Digital
physical id: 0.1.0
bus info: scsi@1:0.1.0
logical name: /dev/sda
version: 1H15
serial: WD-WCC2EAC47202
size: 465GiB (500GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=1fc835a9
*-volume:0
description: EXT4 volume
vendor: Linux
physical id: 1
bus info: scsi@1:0.1.0,1
logical name: /dev/sda1
logical name: /
version: 1.0
serial: e375123a-8273-4f30-8233-3b1d9e7094d7
size: 131GiB
capacity: 131GiB
capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
configuration: created=2017-01-28 06:12:49 filesystem=ext4 lastmountpoint=/ modified=2017-02-09 10:55:28 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2017-02-09 10:55:32 state=mounted
*-volume:1
description: Extended partition
physical id: 2
bus info: scsi@1:0.1.0,2
logical name: /dev/sda2
size: 7916MiB
capacity: 7916MiB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume
description: Linux swap volume
physical id: 5
logical name: /dev/sda5
version: 1
serial: e6492a1c-4988-461b-be36-4973c13d0a7f
size: 7916MiB
capacity: 7916MiB
capabilities: nofs swap initialized
configuration: filesystem=swap pagesize=4096

root@root:~# lshw -short
H/W path         Device     Class          Description
======================================================
                            system         H67MA-USB3-B3
/0                          bus            H67MA-USB3-B3
/0/0                        memory         128KiB BIOS
/0/4                        processor      Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
/0/4/a                      memory         64KiB L1 cache
/0/4/b                      memory         3MiB L2 cache
/0/17                       memory         8GiB System Memory
/0/17/0                     memory         4GiB DIMM 1333 MHz (0.8 ns)
/0/17/1                     memory         4GiB DIMM 1333 MHz (0.8 ns)
/0/17/2                     memory         DIMM [empty]
/0/17/3                     memory         DIMM [empty]
/0/100                      bridge         2nd Generation Core Processor Family DRAM Controller
/0/100/2                    display        2nd Generation Core Processor Family Integrated Graphics Controller
/0/100/16                   communication  6 Series/C200 Series Chipset Family MEI Controller #1
/0/100/1a                   bus            6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2
/0/100/1a/1      usb1       bus            EHCI Host Controller
/0/100/1a/1/1               bus            Integrated Rate Matching Hub
/0/100/1a/1/1/1             input          Usb Mouse
/0/100/1a/1/1/2             input          USB Keyboard
/0/100/1b                   multimedia     6 Series/C200 Series Chipset Family High Definition Audio Controller
/0/100/1c                   bridge         6 Series/C200 Series Chipset Family PCI Express Root Port 1
/0/100/1c.6                 bridge         6 Series/C200 Series Chipset Family PCI Express Root Port 7
/0/100/1c.6/0    eth0       network        RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
/0/100/1c.7                 bridge         6 Series/C200 Series Chipset Family PCI Express Root Port 8
/0/100/1c.7/0               bus            EJ168 USB 3.0 Host Controller
/0/100/1c.7/0/0  usb2       bus            xHCI Host Controller
/0/100/1c.7/0/1  usb3       bus            xHCI Host Controller
/0/100/1d                   bus            6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1
/0/100/1d/1      usb4       bus            EHCI Host Controller
/0/100/1d/1/1               bus            Integrated Rate Matching Hub
/0/100/1e                   bridge         82801 PCI Bridge
/0/100/1f                   bridge         H67 Express Chipset Family LPC Controller
/0/100/1f.2                 storage        6 Series/C200 Series Chipset Family 4 port SATA IDE Controller
/0/100/1f.3                 bus            6 Series/C200 Series Chipset Family SMBus Controller
/0/100/1f.5                 storage        6 Series/C200 Series Chipset Family 2 port SATA IDE Controller
/0/1             scsi1      storage
/0/1/0.1.0       /dev/sda   disk           500GB WDC WD5000AAKX-0
/0/1/0.1.0/1     /dev/sda1  volume         131GiB EXT4 volume
/0/1/0.1.0/2     /dev/sda2  volume         7916MiB Extended partition
/0/1/0.1.0/2/5   /dev/sda5  volume         7916MiB Linux swap volume

root@root:~# sudo lshw -html > lshw.html


3. How to View Linux CPU Information

To view information about your CPU, use the lscpu command as it shows information about your CPU architecture such as number of CPU’s, cores, CPU family model, CPU caches, threads, etc from sysfs and /proc/cpuinfo.

root@root:~# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    2
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 42
Model name:            Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
Stepping:              7
CPU MHz:               1667.309
CPU max MHz:           3100.0000
CPU min MHz:           1600.0000
BogoMIPS:              6185.38
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              3072K
NUMA node0 CPU(s):     0-3
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts

 

4. How to Collect Linux Block Device Information

Block devices are storage devices such as hard disks, flash drives etc. lsblk command is used to report information about block devices as follows.

root@root:~# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk
├─sda1   8:1    0   132G  0 part /
├─sda2   8:2    0     1K  0 part
└─sda5   8:5    0   7.7G  0 part [SWAP]

If you want to view all block devices on your system then include the -a option.
root@root:~# lsblk -a

5. How to Print USB Controllers Information

The lsusb command is used to report information about USB controllers and all the devices that are connected to them.

root@root:~# lsusb
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04d9:1702 Holtek Semiconductor, Inc. Keyboard LKS02
Bus 001 Device 003: ID 1c4f:0034 SiGma Micro
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

You can use the -v option to generate a detailed information about each USB device.

root@root:~# lsusb -v

6. How to Print PCI Devices Information

PCI devices may included usb ports, graphics cards, network adapters etc. The lspci tool is used to generate information concerning all PCI controllers on your system plus the devices that are connected to them.

To print information about PCI devices run the following command.

root@root:~# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b5)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation H67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller (rev 05)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
03:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01)

Use the -t option to produce output in a tree format.

root@root:~# lspci -t
-[0000:00]-+-00.0
+-02.0
+-16.0
+-1a.0
+-1b.0
+-1c.0-[01]–
+-1c.6-[02]—-00.0
+-1c.7-[03]—-00.0
+-1d.0
+-1e.0-[04]–
+-1f.0
+-1f.2
+-1f.3
\-1f.5

Use the -v option to produce detailed information about each connected device.

root@root:~# lspci -v
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>
Kernel driver in use: snb_uncore

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd 2nd Generation Core Processor Family Integrated Graphics Controller
Flags: bus master, fast devsel, latency 0, IRQ 27
Memory at fb800000 (64-bit, non-prefetchable) [size=4M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at ff00 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915
Kernel modules: i915

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family MEI Controller
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at fbfff000 (64-bit, non-prefetchable) [size=16]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: mei_me
Kernel modules: mei_me

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family USB Enhanced Host Controller
Flags: bus master, medium devsel, latency 0, IRQ 18
Memory at fbffe000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family High Definition Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 28
Memory at fbff8000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5) (prog-if 00 [Normal decode])
Flags: fast devsel, IRQ 16
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: dfa00000-dfbfffff
Prefetchable memory behind bridge: 00000000dfc00000-00000000dfdfffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family PCI Express Root Port 1
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 18
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Prefetchable memory behind bridge: 00000000fbe00000-00000000fbefffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family PCI Express Root Port 7
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 19
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: fbd00000-fbdfffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family PCI Express Root Port 8
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05) (prog-if 20 [EHCI])
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family USB Enhanced Host Controller
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at fbffd000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5) (prog-if 01 [Subtractive decode])
Flags: fast devsel
Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
Capabilities: [50] Subsystem: Gigabyte Technology Co., Ltd Motherboard

00:1f.0 ISA bridge: Intel Corporation H67 Express Chipset Family LPC Controller (rev 05)
Subsystem: Gigabyte Technology Co., Ltd H67 Express Chipset Family LPC Controller
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich

00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller (rev 05) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at fe00 [size=8]
I/O ports at fd00 [size=4]
I/O ports at fc00 [size=8]
I/O ports at fb00 [size=4]
I/O ports at fa00 [size=16]
I/O ports at f900 [size=16]
Capabilities: [70] Power Management version 3
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ata_piix
Kernel modules: ata_piix, ata_generic

00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family SMBus Controller
Flags: medium devsel, IRQ 18
Memory at fbffc000 (64-bit, non-prefetchable) [size=256]
I/O ports at 0500 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801

00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller (rev 05) (prog-if 85 [Master SecO PriO])
Subsystem: Gigabyte Technology Co., Ltd 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at f700 [size=8]
I/O ports at f600 [size=4]
I/O ports at f500 [size=8]
I/O ports at f400 [size=4]
I/O ports at f300 [size=16]
I/O ports at f200 [size=16]
Capabilities: [70] Power Management version 3
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ata_piix
Kernel modules: ata_piix, ata_generic

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
Flags: bus master, fast devsel, latency 0, IRQ 24
I/O ports at ee00 [size=256]
Memory at fbeff000 (64-bit, prefetchable) [size=4K]
Memory at fbef8000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
Kernel driver in use: r8169
Kernel modules: r8169

03:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01) (prog-if 30 [XHCI])
Subsystem: Gigabyte Technology Co., Ltd EJ168 USB 3.0 Host Controller
Flags: bus master, fast devsel, latency 0, IRQ 25
Memory at fbdf8000 (64-bit, non-prefetchable) [size=32K]
Capabilities: [50] Power Management version 3
Capabilities: [70] MSI: Enable+ Count=1/4 Maskable+ 64bit+
Capabilities: [a0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [190] Device Serial Number 01-01-01-01-01-01-01-01
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

7. How to Print SCSI Devices Information

To view all your scsi/sata devices, use the lsscsi command as follows. If you do not have lsscsi tool installed, run the following command to install it.

# sudo apt-get install lsscsi        [on Debian derivatives]
# yum install lsscsi                 [On RedHat based systems]
# dnf install lsscsi                 [On Fedora 21+ Onwards]

After install, run the lsscsi command as shown:

root@root:~# lsscsi
[1:0:1:0]    disk    ATA      WDC WD5000AAKX-0 1H15  /dev/sda

Use the -s option to show device sizes.

root@root:~# lsscsi -s
[1:0:1:0] disk ATA WDC WD5000AAKX-0 1H15 /dev/sda 500GB

 

8. How to Print Information about SATA Devices

You can find some information about sata devices on your system as follows using the hdparm utility. In the example below, I used the block device /dev/sda1 which the harddisk on my system.

root@root:~#  hdparm /dev/sda1

/dev/sda1:
multcount = 16 (on)
IO_support = 0 (default)
readonly = 0 (off)
readahead = 256 (on)
geometry = 60801/255/63, sectors = 276754432, start = 2048

To print information about device geometry interms of cylinders, heads, sectors, size and the starting offset of the device, use the -g option.

root@root:~# hdparm -g /dev/sda1

/dev/sda1:
geometry = 60801/255/63, sectors = 276754432, start = 2048

 

9. How to Print Linux File System Information

To gather information about file system partitions, you can use fdisk command. Although the main functionality of fdisk command is to modify file system partitions, it can also be used to view information about the different partitions on your file system.

You can print partition information as follows. Remember to run the command as a superuser or else you may not see any output.

root@root:~# fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1fc835a9

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 276756479 276754432 132G 83 Linux
/dev/sda2 276758526 292970495 16211970 7.7G 5 Extended
/dev/sda5 276758528 292970495 16211968 7.7G 82 Linux swap / Solaris

 

10. How to Extract Information about Hardware Components

You can also use the dmidecode utility to extract hardware information by reading data from the DMI tables.
To print information about memory, run this command as a superuser.

root@root:~# dmidecode -t memory
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.4 present.

Handle 0x0005, DMI type 5, 24 bytes
Memory Controller Information
Error Detecting Method: 8-bit Parity
Error Correcting Capabilities:
None
Supported Interleave: One-way Interleave
Current Interleave: One-way Interleave
Maximum Memory Module Size: 1024 MB
Maximum Total Memory Size: 4096 MB
Supported Speeds:
Other
Supported Memory Types:
Other
Memory Module Voltage: 5.0 V
Associated Memory Slots: 4
0x0006
0x0007
0x0008
0x0009
Enabled Error Correcting Capabilities:
None

Handle 0x0006, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A0
Bank Connections: 1
Current Speed: Unknown
Type: Other
Installed Size: 4096 MB (Single-bank Connection)
Enabled Size: 4096 MB (Single-bank Connection)
Error Status: OK

Handle 0x0007, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A1
Bank Connections: 2
Current Speed: Unknown
Type: Other
Installed Size: 4096 MB (Single-bank Connection)
Enabled Size: 4096 MB (Single-bank Connection)
Error Status: OK

Handle 0x0008, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A2
Bank Connections: 3
Current Speed: Unknown
Type: Unknown
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK

Handle 0x0009, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A3
Bank Connections: 4
Current Speed: Unknown
Type: Unknown
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK

Handle 0x0017, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 32 GB
Error Information Handle: Not Provided
Number Of Devices: 4

Handle 0x0018, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0017
Error Information Handle: Not Provided
Total Width: 2304 bits
Data Width: 2244 bits
Size: 4096 MB
Form Factor: DIMM
Set: None
Locator: A0
Bank Locator: Bank0/1
Type: Unknown
Type Detail: None
Speed: 1333 MHz
Manufacturer:
Serial Number:
Asset Tag:
Part Number:

Handle 0x0019, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0017
Error Information Handle: Not Provided
Total Width: 256 bits
Data Width: 196 bits
Size: 4096 MB
Form Factor: DIMM
Set: None
Locator: A1
Bank Locator: Bank2/3
Type: Unknown
Type Detail: None
Speed: 1333 MHz
Manufacturer:
Serial Number:
Asset Tag:
Part Number:

Handle 0x001A, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0017
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: A2
Bank Locator: Bank4/5
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer:
Serial Number:
Asset Tag:
Part Number:

Handle 0x001B, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0017
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: A3
Bank Locator: Bank6/7
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer:
Serial Number:
Asset Tag:
Part Number:

To print information about system, run this command.

root@root:~# dmidecode -t system
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.4 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: H67MA-USB3-B3
Version:
Serial Number:
UUID: 00000000-0000-0000-0000-50E549C405DD
Wake-up Type: Power Switch
SKU Number:
Family:

Handle 0x0021, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected

To print information about BIOS, run this command.

root@root:~# dmidecode -t bios
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.4 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Award Software International, Inc.
Version: F4
Release Date: 10/27/2011
Address: 0xE0000
Runtime Size: 128 kB
ROM Size: 4096 kB
Characteristics:
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
EDD is supported
5.25″/360 kB floppy services are supported (int 13h)
5.25″/1.2 MB floppy services are supported (int 13h)
3.5″/720 kB floppy services are supported (int 13h)
3.5″/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Targeted content distribution is supported

Handle 0x0016, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Long
Installable Languages: 3
n|US|iso8859-1
n|US|iso8859-1
r|CA|iso8859-1
Currently Installed Language: n|US|iso8859-1
To print information about processor, run this command.

root@root:~# dmidecode -t processor
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.4 present.

Handle 0x0004, DMI type 4, 35 bytes
Processor Information
Socket Designation: Socket 1155
Type: Central Processor
Family: Other
Manufacturer: Intel
ID: A7 06 02 00 FF FB EB BF
Version: Intel(R) Core(TM) i3-2100 CPU
Voltage: 1.0 V
External Clock: 100 MHz
Max Speed: 4000 MHz
Current Speed: 3100 MHz
Status: Populated, Enabled
Upgrade: Socket 478
L1 Cache Handle: 0x000A
L2 Cache Handle: 0x000B
L3 Cache Handle: Not Provided
Serial Number:
Asset Tag:
Part Number:

Summary

There are many other ways you can use to obtain information about your system hardware components. Most of these commands use files in the /proc directory to extract system information.

Hope you find this tips and tricks useful and remember to post a comment in case you want to add more information to this or if you face any difficulties in using any of the commands. Remember to always stay connected to Tecmint.