When you are completely switched to Linux like me, there are many great free programs in Windows environment like Cpuz, CCleaner, …etc. There are many ways to view your desktop/laptop’s hardware in Linux. Most of the hardware information are in /proc, for example
To view CPU information
$ cat /proc/cpuinfo
or
$ lscpu
To view ram/memory information
$ cat /proc/meminfo
To view storage information
$ sudo smartctl -a /dev/sda
or
$ sudo smartctl -a /dev/nvme0
As you can see each cpuinfo, meminfo, smartctl show everything in detail about your system’s cpu, memory, storage but you have to look for each one seperately. Luckily I found out about lshw, which is a great tool to view all of the hardware’s details of your system. lshw can show cpu, ram, motherboard, network….etc (pretty much everything). Very similar to CPUz.
To run lshw, simply run lshw command in the terminal with super-user (root) root privileges.
$ sudo lshw
This is the full output for my Dell Latitude E7470
description: Laptop product: Latitude E7470 (06DC) vendor: Dell Inc. serial: 1BTDGC2 width: 64 bits capabilities: smbios-3.0 dmi-3.0 smp vsyscall32 configuration: boot=normal chassis=laptop family=Latitude sku=06DC uuid=44454C4C-4200-1054-8044-B1C04F474332 *-core description: Motherboard product: 0T6HHJ vendor: Dell Inc. physical id: 0 version: A00 serial: /1BTDGC2/CN1296366B00F8/ *-firmware description: BIOS vendor: Dell Inc. physical id: 0 version: 1.20.3 date: 08/20/2018 size: 64KiB capacity: 15MiB capabilities: pci pnp upgrade shadowing cdboot bootselect edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb smartbattery biosbootspecification netboot uefi *-cache:0 description: L1 cache physical id: 41 slot: L1 Cache size: 64KiB capacity: 64KiB capabilities: synchronous internal write-back data configuration: level=1 *-cache:1 description: L1 cache physical id: 42 slot: L1 Cache size: 64KiB capacity: 64KiB capabilities: synchronous internal write-back instruction configuration: level=1 *-cache:2 description: L2 cache physical id: 43 slot: L2 Cache size: 512KiB capacity: 512KiB capabilities: synchronous internal write-back unified configuration: level=2 *-cache:3 description: L3 cache physical id: 44 slot: L3 Cache size: 4MiB capacity: 4MiB capabilities: synchronous internal write-back unified configuration: level=3 *-cpu description: CPU product: Intel(R) Core(TM) i7-6650U CPU @ 2.20GHz vendor: Intel Corp. physical id: 45 bus info: cpu@0 version: Intel(R) Core(TM) i7-6650U CPU @ 2.20GHz serial: To Be Filled By O.E.M. slot: U3E1 size: 3030MHz capacity: 3400MHz width: 64 bits clock: 100MHz capabilities: x86-64 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 pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d cpufreq configuration: cores=2 enabledcores=2 threads=4 *-memory description: System Memory physical id: 46 slot: System board or motherboard size: 16GiB *-bank:0 description: SODIMM DDR4 Synchronous 2133 MHz (0.5 ns) product: HMA41GS6AFR8N-TF vendor: SK Hynix physical id: 0 serial: 12161215 slot: DIMM A size: 8GiB width: 64 bits clock: 2133MHz (0.5ns) *-bank:1 description: SODIMM DDR4 Synchronous 2133 MHz (0.5 ns) product: HMA41GS6AFR8N-TF vendor: SK Hynix physical id: 1 serial: 12121212 slot: DIMM B size: 8GiB width: 64 bits clock: 2133MHz (0.5ns) *-pci description: Host bridge product: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers vendor: Intel Corporation physical id: 100 bus info: pci@0000:00:00.0 version: 09 width: 32 bits clock: 33MHz configuration: driver=skl_uncore resources: irq:0 *-display description: VGA compatible controller product: Iris Graphics 540 vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 0a width: 64 bits clock: 33MHz capabilities: pciexpress msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:129 memory:e0000000-e0ffffff memory:d0000000-dfffffff ioport:f000(size=64) memory:c0000-dffff *-generic:0 description: Signal processing controller product: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem vendor: Intel Corporation physical id: 4 bus info: pci@0000:00:04.0 version: 09 width: 64 bits clock: 33MHz capabilities: msi pm cap_list configuration: driver=proc_thermal latency=0 resources: irq:16 memory:e1340000-e1347fff *-usb description: USB controller product: Sunrise Point-LP USB 3.0 xHCI Controller vendor: Intel Corporation physical id: 14 bus info: pci@0000:00:14.0 version: 21 width: 64 bits clock: 33MHz capabilities: pm msi xhci bus_master cap_list configuration: driver=xhci_hcd latency=0 resources: irq:125 memory:e1330000-e133ffff *-usbhost:0 product: xHCI Host Controller vendor: Linux 4.18.0-18-generic xhci-hcd physical id: 0 bus info: usb@1 logical name: usb1 version: 4.18 capabilities: usb-2.00 configuration: driver=hub slots=12 speed=480Mbit/s *-usb description: Bluetooth wireless interface vendor: Intel Corp. physical id: 8 bus info: usb@1:8 version: 0.01 capabilities: bluetooth usb-2.00 configuration: driver=btusb maxpower=100mA speed=12Mbit/s *-usbhost:1 product: xHCI Host Controller vendor: Linux 4.18.0-18-generic xhci-hcd physical id: 1 bus info: usb@2 logical name: usb2 version: 4.18 capabilities: usb-3.00 configuration: driver=hub slots=6 speed=5000Mbit/s *-generic:1 description: Signal processing controller product: Sunrise Point-LP Thermal subsystem vendor: Intel Corporation physical id: 14.2 bus info: pci@0000:00:14.2 version: 21 width: 64 bits clock: 33MHz capabilities: pm msi cap_list configuration: driver=intel_pch_thermal latency=0 resources: irq:18 memory:e1352000-e1352fff *-communication description: Communication controller product: Sunrise Point-LP CSME HECI #1 vendor: Intel Corporation physical id: 16 bus info: pci@0000:00:16.0 version: 21 width: 64 bits clock: 33MHz capabilities: pm msi bus_master cap_list configuration: driver=mei_me latency=0 resources: irq:134 memory:e1351000-e1351fff *-pci:0 description: PCI bridge product: Sunrise Point-LP PCI Express Root Port #5 vendor: Intel Corporation physical id: 1c bus info: pci@0000:00:1c.0 version: f1 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:122 memory:e1200000-e12fffff *-network description: Wireless interface product: Wireless 8260 vendor: Intel Corporation physical id: 0 bus info: pci@0000:01:00.0 logical name: wlp1s0 version: 3a serial: e4:b3:18:66:7d:58 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=iwlwifi driverversion=4.18.0-18-generic firmware=36.e91976c0.0 ip=10.10.10.104 latency=0 link=yes multicast=yes wireless=IEEE 802.11 resources: irq:135 memory:e1200000-e1201fff *-pci:1 description: PCI bridge product: Sunrise Point-LP PCI Express Root Port #9 vendor: Intel Corporation physical id: 1d bus info: pci@0000:00:1d.0 version: f1 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:123 memory:e1100000-e11fffff *-storage description: Non-Volatile memory controller product: NVMe SSD Controller SM981/PM981 vendor: Samsung Electronics Co Ltd physical id: 0 bus info: pci@0000:02:00.0 version: 00 width: 64 bits clock: 33MHz capabilities: storage pm msi pciexpress msix nvm_express bus_master cap_list configuration: driver=nvme latency=0 resources: irq:16 memory:e1100000-e1103fff *-pci:2 description: PCI bridge product: Intel Corporation vendor: Intel Corporation physical id: 1d.2 bus info: pci@0000:00:1d.2 version: f1 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:124 memory:e1000000-e10fffff *-generic description: Unassigned class product: RTS525A PCI Express Card Reader vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:03:00.0 version: 01 width: 32 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=rtsx_pci latency=0 resources: irq:128 memory:e1000000-e1000fff *-isa description: ISA bridge product: Sunrise Point-LP LPC Controller vendor: Intel Corporation physical id: 1f bus info: pci@0000:00:1f.0 version: 21 width: 32 bits clock: 33MHz capabilities: isa bus_master configuration: latency=0 *-memory UNCLAIMED description: Memory controller product: Sunrise Point-LP PMC vendor: Intel Corporation physical id: 1f.2 bus info: pci@0000:00:1f.2 version: 21 width: 32 bits clock: 33MHz (30.3ns) configuration: latency=0 resources: memory:e134c000-e134ffff *-multimedia description: Audio device product: Sunrise Point-LP HD Audio vendor: Intel Corporation physical id: 1f.3 bus info: pci@0000:00:1f.3 version: 21 width: 64 bits clock: 33MHz capabilities: pm msi bus_master cap_list configuration: driver=snd_hda_intel latency=32 resources: irq:136 memory:e1348000-e134bfff memory:e1320000-e132ffff *-serial UNCLAIMED description: SMBus product: Sunrise Point-LP SMBus vendor: Intel Corporation physical id: 1f.4 bus info: pci@0000:00:1f.4 version: 21 width: 64 bits clock: 33MHz configuration: latency=0 resources: memory:e1350000-e13500ff ioport:f040(size=32) *-network description: Ethernet interface product: Ethernet Connection I219-LM vendor: Intel Corporation physical id: 1f.6 bus info: pci@0000:00:1f.6 logical name: enp0s31f6 version: 21 serial: 84:7b:eb:4b:df:c3 capacity: 1Gbit/s width: 32 bits clock: 33MHz capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.13-3 latency=0 link=no multicast=yes port=twisted pair resources: irq:126 memory:e1300000-e131ffff *-battery product: DELL 1W2Y265 vendor: Samsung SDI physical id: 1 version: 05/24/2016 serial: 884A slot: Sys. Battery Bay capacity: 54990mWh configuration: voltage=7.6V
If lshw give you too much information, you can make lshw give shorter output and easier to read format by adding -short option after lshe command.
$ sudo lshw -short
and the output comes with bunchs of random H/W path with no device name nor description. Scroll down to the end, lshw -short gives you kind of summary what hardware you have in your system.
H/W path Device Class Description ==================================================== system Latitude E7470 (06DC) /0 bus 0T6HHJ /0/0 memory 64KiB BIOS /0/41 memory 64KiB L1 cache /0/42 memory 64KiB L1 cache /0/43 memory 512KiB L2 cache /0/44 memory 4MiB L3 cache /0/45 processor Intel(R) Core(TM) i7-6650U CPU @ 2.20GHz /0/46 memory 16GiB System Memory /0/46/0 memory 8GiB SODIMM DDR4 Synchronous 2133 MHz (0.5 ns) /0/46/1 memory 8GiB SODIMM DDR4 Synchronous 2133 MHz (0.5 ns) /0/100 bridge Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers /0/100/2 display Iris Graphics 540 /0/100/4 generic Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem /0/100/14 bus Sunrise Point-LP USB 3.0 xHCI Controller /0/100/14/0 usb1 bus xHCI Host Controller /0/100/14/0/1 input USB Receiver /0/100/14/0/8 communication Bluetooth wireless interface /0/100/14/1 usb2 bus xHCI Host Controller /0/100/14.2 generic Sunrise Point-LP Thermal subsystem /0/100/16 communication Sunrise Point-LP CSME HECI #1 /0/100/1c bridge Sunrise Point-LP PCI Express Root Port #5 /0/100/1c/0 wlp1s0 network Wireless 8260 /0/100/1d bridge Sunrise Point-LP PCI Express Root Port #9 /0/100/1d/0 storage NVMe SSD Controller SM981/PM981 /0/100/1d.2 bridge Intel Corporation /0/100/1d.2/0 generic RTS525A PCI Express Card Reader /0/100/1f bridge Sunrise Point-LP LPC Controller /0/100/1f.2 memory Memory controller /0/100/1f.3 multimedia Sunrise Point-LP HD Audio /0/100/1f.4 bus Sunrise Point-LP SMBus /0/100/1f.6 enp0s31f6 network Ethernet Connection I219-LM /1 power DELL 1W2Y265