{"id":811,"date":"2022-01-26T00:22:40","date_gmt":"2022-01-25T23:22:40","guid":{"rendered":"https:\/\/notiz.comanet.xyz\/?p=811"},"modified":"2022-01-26T00:22:40","modified_gmt":"2022-01-25T23:22:40","slug":"10-commands-to-collect-system-and-hardware-info-in-linux","status":"publish","type":"post","link":"https:\/\/notiz.comanet.xyz\/?p=811","title":{"rendered":"10 Commands to Collect System and Hardware Info in Linux\u00a0"},"content":{"rendered":"\n<p>Clipped from: <a href=\"https:\/\/www.tecmint.com\/commands-to-collect-system-and-hardware-information-in-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.tecmint.com\/commands-to-collect-system-and-hardware-information-in-linux\/<\/a>&nbsp;<\/p>\n\n\n\n<p>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 using <a href=\"https:\/\/www.tecmint.com\/20-linux-yum-yellowdog-updater-modified-commands-for-package-mangement\/\" target=\"_blank\" rel=\"noreferrer noopener\">yum<\/a>, <a href=\"https:\/\/www.tecmint.com\/dnf-commands-for-fedora-rpm-package-management\/\" target=\"_blank\" rel=\"noreferrer noopener\">dnf<\/a>, or <a href=\"https:\/\/www.tecmint.com\/apt-advanced-package-command-examples-in-ubuntu\/\" target=\"_blank\" rel=\"noreferrer noopener\">apt<\/a>.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"297\" src=\"https:\/\/notiz.comanet.xyz\/wp-content\/uploads\/2022\/01\/image.jpeg\" alt=\"\" class=\"wp-image-813\" srcset=\"https:\/\/notiz.comanet.xyz\/wp-content\/uploads\/2022\/01\/image.jpeg 620w, https:\/\/notiz.comanet.xyz\/wp-content\/uploads\/2022\/01\/image-300x144.jpeg 300w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/figure>\n\n\n\n<p>10 Commands to Check Hardware and System Information in Linux&nbsp;<\/p>\n\n\n\n<p>Therefore in these <a href=\"https:\/\/www.tecmint.com\/tag\/linux-tricks\/\" target=\"_blank\" rel=\"noreferrer noopener\">tips and tricks<\/a> series, we shall look at some <a href=\"https:\/\/www.tecmint.com\/60-commands-of-linux-a-guide-from-newbies-to-system-administrator\/\" target=\"_blank\" rel=\"noreferrer noopener\">useful commands<\/a> that can help you to extract information about your Linux system and hardware components.&nbsp;<\/p>\n\n\n\n<p>1. How to View Linux System Information&nbsp;<\/p>\n\n\n\n<p>To know only the system name, you can use the <strong>uname<\/strong> command without any switch that will print system information or the <strong>uname -s<\/strong> command will print the kernel name of your system.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>uname<\/strong>&nbsp;<br>&nbsp;<br><strong>Linux<\/strong>&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>To view your network hostname, use the <strong>\u2018-n\u2019<\/strong> switch with the uname command as shown.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>uname -n<\/strong>&nbsp;<br>&nbsp;<br><strong>tecmint.com<\/strong>&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>To get information about kernel-version, use the <strong>\u2018-v\u2019<\/strong> switch.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>uname -v<\/strong>&nbsp;<br>&nbsp;<br><strong>#64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014<\/strong>&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>To get the information about your kernel release, use the <strong>\u2018-r\u2019<\/strong> switch.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>uname -r<\/strong>&nbsp;<br>&nbsp;<br><strong>3.13.0-37-generic<\/strong>&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>To print your machine hardware name, use the <strong>\u2018-m\u2019<\/strong> switch:&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>uname -m<\/strong>&nbsp;<br>&nbsp;<br><strong>x86_64<\/strong>&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>All this information can be printed at once by running the <strong>\u2018uname -a\u2019<\/strong> command as shown below.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>uname -a<\/strong>&nbsp;<br>&nbsp;<br><strong>Linux tecmint.com 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38<\/strong>&nbsp;<br><strong>UTC 2014 x86_64 x86_64 x86_64 GNU\/Linux<\/strong>&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>2. How to View Linux System Hardware Information&nbsp;<\/p>\n\n\n\n<p>Here you can use the <strong>lshw tool<\/strong> to gather vast information about your hardware components such as <strong>cpu<\/strong>, <strong>disks<\/strong>, <strong>memory<\/strong>, <strong>usb controllers,<\/strong> etc.&nbsp;<\/p>\n\n\n\n<p><strong>lshw<\/strong> is a relatively small tool and there are few options that you can use with it while extracting information. The information provided by <strong>lshw<\/strong> was gathered from different <a href=\"https:\/\/www.tecmint.com\/exploring-proc-file-system-in-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\">\/proc files<\/a>.&nbsp;<\/p>\n\n\n\n<p><strong>Note<\/strong>: Do remember that the <strong>lshw<\/strong> command is executed by the superuser (<strong>root<\/strong>) or <strong>sudo<\/strong> user.&nbsp;<\/p>\n\n\n\n<p><strong>Read Also<\/strong>: <a href=\"https:\/\/www.tecmint.com\/su-vs-sudo-and-how-to-configure-sudo-in-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\">Difference Between su and sudo User in Linux<\/a>&nbsp;<\/p>\n\n\n\n<p>To print information about your Linux system hardware, run this command.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo lshw<\/strong>&nbsp;<br>&nbsp;<br>tecmint.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; description: Notebook&nbsp;<br>&nbsp;&nbsp;&nbsp; product: 20354 (LENOVO_MT_20354_BU_idea_FM_Lenovo Z50-70)&nbsp;<br>&nbsp;&nbsp;&nbsp; vendor: LENOVO&nbsp;<br>&nbsp;&nbsp;&nbsp; version: Lenovo Z50-70&nbsp;<br>&nbsp;&nbsp;&nbsp; serial: 1037407803441&nbsp;<br>&nbsp;&nbsp;&nbsp; width: 64 bits&nbsp;<br>&nbsp;&nbsp;&nbsp; capabilities: smbios-2.7 dmi-2.7 vsyscall32&nbsp;<br>&nbsp;&nbsp;&nbsp; configuration: administrator_password=disabled boot=normal &nbsp;<br>&nbsp;&nbsp;&nbsp; chassis=notebook family=IDEAPAD frontpanel_password=disabled &nbsp;<br>&nbsp;&nbsp;&nbsp; keyboard_password=disabled power-on_password=disabled &nbsp;<br>&nbsp;&nbsp;&nbsp; sku=LENOVO_MT_20354_BU_idea_FM_Lenovo Z50-70 &nbsp;<br>&nbsp;&nbsp;&nbsp; uuid=E4B1D229-D237-E411-9F6E-28D244EBBD98&nbsp;<br>&nbsp; *-core&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; description: Motherboard&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; product: Lancer 5A5&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vendor: LENOVO&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; physical id: 0&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; version: 31900059WIN&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; serial: YB06377069&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; slot: Type2 &#8211; Board Chassis Location&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp; *-firmware&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; description: BIOS&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vendor: LENOVO&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; physical id: 0&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; version: 9BCN26WW&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; date: 07\/31\/2014&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; size: 128KiB&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capacity: 4032KiB&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capabilities: pci upgrade shadowing cdboot bootselect edd&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 &nbsp;<br>int13floppy2880 int9keyboard int10video acpi usb biosbootspecification uefi&nbsp;<br>&#8230;&#8230;&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>You can print a summary of your hardware information by using the <strong>-short<\/strong> option.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo lshw -short<\/strong>&nbsp;<br>&nbsp;<br>H\/W path&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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;&nbsp;&nbsp;&nbsp;&nbsp; Graphics Controller&nbsp;<br>\/0\/100\/3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; multimedia&nbsp;&nbsp;&nbsp;&nbsp; Haswell-ULT HD Audio Controller&nbsp;<br>&#8230;&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>If you wish to generate output as an html file, you can use the option <strong>-html<\/strong>.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo lshw -html &gt; lshw.html<\/strong>&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"775\" height=\"529\" src=\"https:\/\/notiz.comanet.xyz\/wp-content\/uploads\/2022\/01\/image-14.png\" alt=\"\" class=\"wp-image-814\" srcset=\"https:\/\/notiz.comanet.xyz\/wp-content\/uploads\/2022\/01\/image-14.png 775w, https:\/\/notiz.comanet.xyz\/wp-content\/uploads\/2022\/01\/image-14-300x205.png 300w, https:\/\/notiz.comanet.xyz\/wp-content\/uploads\/2022\/01\/image-14-768x524.png 768w\" sizes=\"auto, (max-width: 775px) 100vw, 775px\" \/><\/figure>\n\n\n\n<p>Generate Linux Hardware Information in HTML&nbsp;<\/p>\n\n\n\n<p>3. How to View Linux CPU Information&nbsp;<\/p>\n\n\n\n<p>To view information about your CPU, use the <a href=\"https:\/\/www.tecmint.com\/check-linux-cpu-information\/\" target=\"_blank\" rel=\"noreferrer noopener\">lscpu command<\/a> as it shows information about your CPU architecture such as a number of CPUs, cores, CPU family model, CPU caches, threads, etc from <strong>sysfs<\/strong> and <strong>\/proc\/cpuinfo<\/strong>.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>lscpu<\/strong>&nbsp;<br>&nbsp;<br>Architecture:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; x86_64&nbsp;<br>CPU op-mode(s):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32-bit, 64-bit&nbsp;<br>Byte Order:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Little Endian&nbsp;<br>CPU(s):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;<br>On-line CPU(s) list:&nbsp;&nbsp; 0-3&nbsp;<br>Thread(s) per core:&nbsp;&nbsp;&nbsp; 2&nbsp;<br>Core(s) per socket:&nbsp;&nbsp;&nbsp; 2&nbsp;<br>Socket(s):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;<br>NUMA node(s):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;<br>Vendor ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GenuineIntel&nbsp;<br>CPU family:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6&nbsp;<br>Model:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 69&nbsp;<br>Stepping:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;<br>CPU MHz:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 768.000&nbsp;<br>BogoMIPS:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4788.72&nbsp;<br>Virtualization:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VT-x&nbsp;<br>L1d cache:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32K&nbsp;<br>L1i cache:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32K&nbsp;<br>L2 cache:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 256K&nbsp;<br>L3 cache:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3072K&nbsp;<br>NUMA node0 CPU(s):&nbsp;&nbsp;&nbsp;&nbsp; 0-3&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>4. How to Collect Linux Block Device Information&nbsp;<\/p>\n\n\n\n<p><a href=\"https:\/\/www.tecmint.com\/create-disk-partitions-in-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\">Block devices<\/a> are storage devices such as hard disks, flash drives, etc. <strong>lsblk<\/strong> command is used to report information about block devices as follows.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>lsblk<\/strong>&nbsp;<br>&nbsp;<br>NAME&nbsp;&nbsp;&nbsp; MAJ:MIN RM&nbsp;&nbsp; SIZE RO TYPE MOUNTPOINT&nbsp;<br>sda&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:0&nbsp;&nbsp;&nbsp; 0 931.5G&nbsp; 0 disk &nbsp;<br>\u251c\u2500sda1&nbsp;&nbsp;&nbsp; 8:1&nbsp;&nbsp;&nbsp; 0&nbsp; 1000M&nbsp; 0 part &nbsp;<br>\u251c\u2500sda2&nbsp;&nbsp;&nbsp; 8:2&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 260M&nbsp; 0 part \/boot\/efi&nbsp;<br>\u251c\u2500sda3&nbsp;&nbsp;&nbsp; 8:3&nbsp;&nbsp;&nbsp; 0&nbsp; 1000M&nbsp; 0 part &nbsp;<br>\u251c\u2500sda4&nbsp;&nbsp;&nbsp; 8:4&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 128M&nbsp; 0 part &nbsp;<br>\u251c\u2500sda5&nbsp;&nbsp;&nbsp; 8:5&nbsp;&nbsp;&nbsp; 0 557.1G&nbsp; 0 part &nbsp;<br>\u251c\u2500sda6&nbsp;&nbsp;&nbsp; 8:6&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 25G&nbsp; 0 part &nbsp;<br>\u251c\u2500sda7&nbsp;&nbsp;&nbsp; 8:7&nbsp;&nbsp;&nbsp; 0&nbsp; 14.7G&nbsp; 0 part &nbsp;<br>\u251c\u2500sda8&nbsp;&nbsp;&nbsp; 8:8&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 1M&nbsp; 0 part &nbsp;<br>\u251c\u2500sda9&nbsp;&nbsp;&nbsp; 8:9&nbsp;&nbsp;&nbsp; 0 324.5G&nbsp; 0 part \/&nbsp;<br>\u2514\u2500sda10&nbsp;&nbsp; 8:10&nbsp;&nbsp; 0&nbsp;&nbsp; 7.9G&nbsp; 0 part [SWAP]&nbsp;<br>sr0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11:0&nbsp;&nbsp;&nbsp; 1&nbsp; 1024M&nbsp; 0 rom&nbsp; &nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>If you want to view all block devices on your system then include the <strong>-a<\/strong> option.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>lsblk -a<\/strong>&nbsp;<br>&nbsp;<br>NAME&nbsp;&nbsp;&nbsp; MAJ:MIN RM&nbsp;&nbsp; SIZE RO TYPE MOUNTPOINT&nbsp;<br>sda&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:0&nbsp;&nbsp;&nbsp; 0 931.5G&nbsp; 0 disk &nbsp;<br>\u251c\u2500sda1&nbsp;&nbsp;&nbsp; 8:1&nbsp;&nbsp;&nbsp; 0&nbsp; 1000M&nbsp; 0 part &nbsp;<br>\u251c\u2500sda2&nbsp;&nbsp;&nbsp; 8:2&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 260M&nbsp; 0 part \/boot\/efi&nbsp;<br>\u251c\u2500sda3&nbsp;&nbsp;&nbsp; 8:3&nbsp;&nbsp;&nbsp; 0&nbsp; 1000M&nbsp; 0 part &nbsp;<br>\u251c\u2500sda4&nbsp;&nbsp;&nbsp; 8:4&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 128M&nbsp; 0 part &nbsp;<br>\u251c\u2500sda5&nbsp;&nbsp;&nbsp; 8:5&nbsp;&nbsp;&nbsp; 0 557.1G&nbsp; 0 part &nbsp;<br>\u251c\u2500sda6&nbsp;&nbsp;&nbsp; 8:6&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 25G&nbsp; 0 part &nbsp;<br>\u251c\u2500sda7&nbsp;&nbsp;&nbsp; 8:7&nbsp;&nbsp;&nbsp; 0&nbsp; 14.7G&nbsp; 0 part &nbsp;<br>\u251c\u2500sda8&nbsp;&nbsp;&nbsp; 8:8&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 1M&nbsp; 0 part &nbsp;<br>\u251c\u2500sda9&nbsp;&nbsp;&nbsp; 8:9&nbsp;&nbsp;&nbsp; 0 324.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sp;&nbsp;&nbsp;&nbsp;&nbsp; 0 loop &nbsp;<br>loop7&nbsp;&nbsp;&nbsp;&nbsp; 7:7&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 loop &nbsp;<br>ram10&nbsp;&nbsp;&nbsp;&nbsp; 1:10&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 64M&nbsp; 0 disk &nbsp;<br>ram11&nbsp;&nbsp;&nbsp;&nbsp; 1:11&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 64M&nbsp; 0 disk &nbsp;<br>ram12&nbsp;&nbsp;&nbsp;&nbsp; 1:12&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 64M&nbsp; 0 disk &nbsp;<br>ram13&nbsp;&nbsp;&nbsp;&nbsp; 1:13&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 64M&nbsp; 0 disk &nbsp;<br>ram14&nbsp;&nbsp;&nbsp;&nbsp; 1:14&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 64M&nbsp; 0 disk &nbsp;<br>ram15&nbsp;&nbsp;&nbsp;&nbsp; 1:15&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 64M&nbsp; 0 disk &nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>5. How to Print USB Controllers Information&nbsp;<\/p>\n\n\n\n<p>The <strong>lsusb<\/strong> command is used to report information about USB controllers and all the devices that are connected to them.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>lsusb<\/strong>&nbsp;<br>&nbsp;<br>Bus 001 Device 002: ID 8087:8000 Intel Corp. &nbsp;<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&nbsp;<br>Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub&nbsp;<br>Bus 002 Device 005: ID 0bda:b728 Realtek Semiconductor Corp. &nbsp;<br>Bus 002 Device 004: ID 5986:0249 Acer, Inc &nbsp;<br>Bus 002 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. &nbsp;<br>RTS5129 Card Reader Controller&nbsp;<br>Bus 002 Device 002: ID 045e:00cb Microsoft Corp. &nbsp;<br>Basic Optical Mouse v2.0&nbsp;<br>Bus 002 Device 001: ID 1d6b:0002 Linux Foundation &nbsp;<br>2.0 root hub&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>You can use the <strong>-v<\/strong> option to generate detailed information about each USB device.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>lsusb -v<\/strong>&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>6. How to Print PCI Devices Information&nbsp;<\/p>\n\n\n\n<p>PCI devices may include usb ports, graphics cards, network adapters, etc. The <strong>lspci tool<\/strong> is used to generate information concerning all PCI controllers on your system plus the devices that are connected to them.&nbsp;<\/p>\n\n\n\n<p>To print information about PCI devices run the following command.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>lspci<\/strong>&nbsp;<br>&nbsp;<br>00:00.0 Host bridge: Intel Corporation Haswell-ULT &nbsp;<br>DRAM Controller (rev 0b)&nbsp;<br>00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT &nbsp;<br>Integrated Graphics Controller (rev 0b)&nbsp;<br>00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller&nbsp;<br>(rev 0b)&nbsp;<br>00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC &nbsp;<br>(rev 04)&nbsp;<br>00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 &nbsp;<br>(rev 04)&nbsp;<br>00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller &nbsp;<br>(rev 04)&nbsp;<br>00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 3 &nbsp;<br>(rev e4)&nbsp;<br>00:1c.3 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 4 &nbsp;<br>(rev e4)&nbsp;<br>00:1c.4 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 5 &nbsp;<br>(rev e4)&nbsp;<br>00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 &nbsp;<br>(rev 04)&nbsp;<br>00:1f.0 ISA bridge: Intel Corporation Lynx Point-LP LPC Controller &nbsp;<br>(rev 04)&nbsp;<br>00:1f.2 SATA controller: Intel Corporation Lynx Point-LP SATA Controller 1 &nbsp;<br>[AHCI mode] (rev 04)&nbsp;<br>00:1f.3 SMBus: Intel Corporation Lynx Point-LP SMBus Controller (rev 04)&nbsp;<br>01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111\/8168\/8411 &nbsp;<br>PCI Express Gigabit Ethernet Controller (rev 10)&nbsp;<br>02:00.0 Network controller: Realtek Semiconductor Co., Ltd. &nbsp;<br>RTL8723BE PCIe Wireless Network Adapter&nbsp;<br>03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>Use the <strong>-t<\/strong> option to produce output in a tree format.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>lspci -t<\/strong>&nbsp;<br>&nbsp;<br>-[0000:00]-+-00.0&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-02.0&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-03.0&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-14.0&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-16.0&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-1b.0&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-1c.0-[01]&#8212;-00.0&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-1c.3-[02]&#8212;-00.0&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-1c.4-[03]&#8212;-00.0&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-1d.0&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-1f.0&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +-1f.2&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \\-1f.3&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>Use the <strong>-v<\/strong> option to produce detailed information about each connected device.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>lspci -v<\/strong>&nbsp;<br>&nbsp;<br>00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)&nbsp;<br>Subsystem: Lenovo Device 3978&nbsp;<br>Flags: bus master, fast devsel, latency 0&nbsp;<br>Capabilities: &nbsp;<br>&nbsp;<br>00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT &nbsp;<br>Integrated Graphics Controller (rev 0b) (prog-if 00 [VGA controller])&nbsp;<br>Subsystem: Lenovo Device 380d&nbsp;<br>Flags: bus master, fast devsel, latency 0, IRQ 62&nbsp;<br>Memory at c3000000 (64-bit, non-prefetchable) [size=4M]&nbsp;<br>Memory at d0000000 (64-bit, prefetchable) [size=256M]&nbsp;<br>I\/O ports at 6000 [size=64]&nbsp;<br>Expansion ROM at&nbsp; [disabled]&nbsp;<br>Capabilities: &nbsp;<br>Kernel driver in use: i915&nbsp;<br>&#8230;..&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>7. How to Print SCSI Devices Information&nbsp;<\/p>\n\n\n\n<p>To view all your scsi\/sata devices, use the <strong>lsscsi<\/strong> command as follows. If you do not have the <strong>lsscsi<\/strong> tool installed, run the following command to install it.&nbsp;<\/p>\n\n\n\n<p>$ sudo apt-get install lsscsi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [on <strong>Debian<\/strong> derivatives]&nbsp;<br># yum install lsscsi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [On RedHat based systems]&nbsp;<br># dnf install lsscsi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [On Fedora 21+ Onwards]&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>After installation, run the <strong>lsscsi<\/strong> command as shown:&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>lsscsi<\/strong>&nbsp;<br>&nbsp;<br>[0:0:0:0]&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp; ATA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ST1000LM024 HN-M 2BA3&nbsp; \/dev\/sda &nbsp;<br>[1:0:0:0]&nbsp;&nbsp;&nbsp; cd\/dvd&nbsp; PLDS&nbsp;&nbsp;&nbsp;&nbsp; DVD-RW DA8A5SH&nbsp;&nbsp; RL61&nbsp; \/dev\/sr0 &nbsp;<br>[4:0:0:0]&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp; Generic- xD\/SD\/M.S.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.00&nbsp; \/dev\/sdb &nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>Use the <strong>-s<\/strong> option to show device sizes.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>lsscsi -s<\/strong>&nbsp;<br>&nbsp;<br>[0:0:0:0]&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp; ATA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ST1000LM024 HN-M 2BA3&nbsp; \/dev\/sda&nbsp;&nbsp; 1.00TB&nbsp;<br>[1:0:0:0]&nbsp;&nbsp;&nbsp; cd\/dvd&nbsp; PLDS&nbsp;&nbsp;&nbsp;&nbsp; DVD-RW DA8A5SH&nbsp;&nbsp; RL61&nbsp; \/dev\/sr0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8211;&nbsp;<br>[4:0:0:0]&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp; Generic- xD\/SD\/M.S.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.00&nbsp; \/dev\/sdb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8211;&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>8. How to Print Information about SATA Devices&nbsp;<\/p>\n\n\n\n<p>You can find some information about sata devices on your system as follows using the <strong>hdparm<\/strong> utility. In the example below, I used the block device <strong>\/dev\/sda1<\/strong> which is the hard disk on my system.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo hdparm \/dev\/sda1<\/strong>&nbsp;<br>&nbsp;<br>\/dev\/sda1:&nbsp;<br>multcount&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp; 0 (off)&nbsp;<br>IO_support&nbsp;&nbsp;&nbsp; =&nbsp; 1 (32-bit)&nbsp;<br>readonly&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp; 0 (off)&nbsp;<br>readahead&nbsp;&nbsp;&nbsp;&nbsp; = 256 (on)&nbsp;<br>geometry&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 56065\/255\/63, sectors = 2048000, start = 2048&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>To print information about device geometry in terms of cylinders, heads, sectors, size, and the starting offset of the device, use the <strong>-g<\/strong> option.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo hdparm -g \/dev\/sda1<\/strong>&nbsp;<br>&nbsp;<br>\/dev\/sda1:&nbsp;<br>geometry&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 56065\/255\/63, sectors = 2048000, start = 2048&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>9. How to Check Linux File System Information&nbsp;<\/p>\n\n\n\n<p>To gather information about file system partitions, you can use the <a href=\"https:\/\/www.tecmint.com\/fdisk-commands-to-manage-linux-disk-partitions\/\" target=\"_blank\" rel=\"noreferrer noopener\">fdisk command<\/a>. Although the main functionality of the <strong>fdisk<\/strong> command is to <a href=\"https:\/\/www.tecmint.com\/linux-tools-to-monitor-disk-partition-usage\/\" target=\"_blank\" rel=\"noreferrer noopener\">modify file system partitions<\/a>, it can also be used to view information about the different partitions on your file system.&nbsp;<\/p>\n\n\n\n<p>You can print partition information as follows. Remember to run the command as a superuser or else you may not see any output.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo fdisk -l<\/strong>&nbsp;<br>&nbsp;<br>WARNING: GPT (GUID Partition Table) detected on &#8216;\/dev\/sda&#8217;! &nbsp;<br>The util fdisk doesn&#8217;t support GPT. Use GNU Parted.&nbsp;<br>&nbsp;<br>&nbsp;<br>Disk \/dev\/sda: 1000.2 GB, 1000204886016 bytes&nbsp;<br>255 heads, 63 sectors\/track, 121601 cylinders, &nbsp;<br>total 1953525168 sectors&nbsp;<br>Units = sectors of 1 * 512 = 512 bytes&nbsp;<br>Sector size (logical\/physical): 512 bytes \/ 4096 bytes&nbsp;<br>I\/O size (minimum\/optimal): 4096 bytes \/ 4096 bytes&nbsp;<br>Disk identifier: 0xcee8ad92&nbsp;<br>&nbsp;<br>&nbsp;&nbsp; Device Boot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Start&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Blocks&nbsp;&nbsp; Id&nbsp; System&nbsp;<br>\/dev\/sda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp; 1953525167&nbsp;&nbsp; 976762583+&nbsp; ee&nbsp; GPT&nbsp;<br>Partition 1 does not start on physical sector boundary.&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>10. How to Check Linux Hardware Components Info&nbsp;<\/p>\n\n\n\n<p>You can also use the <a href=\"https:\/\/www.tecmint.com\/how-to-get-hardware-information-with-dmidecode-command-on-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\">dmidecode utility<\/a> to extract hardware information by reading data from the DMI tables.&nbsp;<\/p>\n\n\n\n<p>To print information about memory, run this command as a superuser.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo dmidecode -t memory<\/strong>&nbsp;<br>&nbsp;<br># dmidecode 2.12&nbsp;<br># SMBIOS entry point at 0xaaebef98&nbsp;<br>SMBIOS 2.7 present.&nbsp;<br>&nbsp;<br>Handle 0x0005, DMI type 5, 24 bytes&nbsp;<br>Memory Controller Information&nbsp;<br>Error Detecting Method: None&nbsp;<br>Error Correcting Capabilities:&nbsp;<br>None&nbsp;<br>Supported Interleave: One-way Interleave&nbsp;<br>Current Interleave: One-way Interleave&nbsp;<br>Maximum Memory Module Size: 8192 MB&nbsp;<br>Maximum Total Memory Size: 32768 MB&nbsp;<br>Supported Speeds:&nbsp;<br>Other&nbsp;<br>Supported Memory Types:&nbsp;<br>Other&nbsp;<br>Memory Module Voltage: Unknown&nbsp;<br>Associated Memory Slots: 4&nbsp;<br>0x0006&nbsp;<br>0x0007&nbsp;<br>0x0008&nbsp;<br>0x0009&nbsp;<br>Enabled Error Correcting Capabilities:&nbsp;<br>None&nbsp;<br>&#8230;&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>To print information about the system, run this command.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo dmidecode -t system<\/strong>&nbsp;<br>&nbsp;<br># dmidecode 2.12&nbsp;<br># SMBIOS entry point at 0xaaebef98&nbsp;<br>SMBIOS 2.7 present.&nbsp;<br>&nbsp;<br>Handle 0x0001, DMI type 1, 27 bytes&nbsp;<br>System Information&nbsp;<br>Manufacturer: LENOVO&nbsp;<br>Product Name: 20354&nbsp;<br>Version: Lenovo Z50-70&nbsp;<br>Serial Number: 1037407803441&nbsp;<br>UUID: 29D2B1E4-37D2-11E4-9F6E-28D244EBBD98&nbsp;<br>Wake-up Type: Power Switch&nbsp;<br>SKU Number: LENOVO_MT_20354_BU_idea_FM_Lenovo Z50-70&nbsp;<br>Family: IDEAPAD&nbsp;<br>&#8230;&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>To print information about BIOS, run this command.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo dmidecode -t bios<\/strong>&nbsp;<br>&nbsp;<br># dmidecode 2.12&nbsp;<br># SMBIOS entry point at 0xaaebef98&nbsp;<br>SMBIOS 2.7 present.&nbsp;<br>&nbsp;<br>Handle 0x0000, DMI type 0, 24 bytes&nbsp;<br>BIOS Information&nbsp;<br>Vendor: LENOVO&nbsp;<br>Version: 9BCN26WW&nbsp;<br>Release Date: 07\/31\/2014&nbsp;<br>Address: 0xE0000&nbsp;<br>Runtime Size: 128 kB&nbsp;<br>ROM Size: 4096 kB&nbsp;<br>Characteristics:&nbsp;<br>PCI is supported&nbsp;<br>BIOS is upgradeable&nbsp;<br>BIOS shadowing is allowed&nbsp;<br>Boot from CD is supported&nbsp;<br>Selectable boot is supported&nbsp;<br>EDD is supported&nbsp;<br>Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)&nbsp;<br>Japanese floppy for Toshiba 1.2 MB is supported (int 13h)&nbsp;<br>5.25&#8243;\/360 kB floppy services are supported (int 13h)&nbsp;<br>5.25&#8243;\/1.2 MB floppy services are supported (int 13h)&nbsp;<br>3.5&#8243;\/720 kB floppy services are supported (int 13h)&nbsp;<br>3.5&#8243;\/2.88 MB floppy services are supported (int 13h)&nbsp;<br>8042 keyboard services are supported (int 9h)&nbsp;<br>CGA\/mono video services are supported (int 10h)&nbsp;<br>ACPI is supported&nbsp;<br>USB legacy is supported&nbsp;<br>BIOS boot specification is supported&nbsp;<br>Targeted content distribution is supported&nbsp;<br>UEFI is supported&nbsp;<br>BIOS Revision: 0.26&nbsp;<br>Firmware Revision: 0.26&nbsp;<br>&#8230;&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>To print information about the processor, run this command.&nbsp;<\/p>\n\n\n\n<p><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo dmidecode -t processor<\/strong>&nbsp;<br>&nbsp;<br># dmidecode 2.12&nbsp;<br># SMBIOS entry point at 0xaaebef98&nbsp;<br>SMBIOS 2.7 present.&nbsp;<br>&nbsp;<br>Handle 0x0004, DMI type 4, 42 bytes&nbsp;<br>Processor Information&nbsp;<br>Socket Designation: U3E1&nbsp;<br>Type: Central Processor&nbsp;<br>Family: Core i5&nbsp;<br>Manufacturer: Intel(R) Corporation&nbsp;<br>ID: 51 06 04 00 FF FB EB BF&nbsp;<br>Signature: Type 0, Family 6, Model 69, Stepping 1&nbsp;<br>Flags:&nbsp;<br>&#8230;&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<p>Summary&nbsp;<\/p>\n\n\n\n<p>There are many other ways you can use to obtain information about your system hardware components. Most of these commands use files in the <a href=\"https:\/\/www.tecmint.com\/exploring-proc-file-system-in-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\">\/proc directory<\/a> to extract system information.&nbsp;<\/p>\n\n\n\n<p>Hope you find these 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 <strong>Tecmint<\/strong>.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Clipped from: https:\/\/www.tecmint.com\/commands-to-collect-system-and-hardware-information-in-linux\/&nbsp; 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 using yum, dnf, or apt.&nbsp; 10 Commands to Check Hardware and System Information in Linux&nbsp; Therefore&#8230;<\/p>\n","protected":false},"author":1,"featured_media":608,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6,29],"tags":[],"class_list":["post-811","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to-s","category-linux","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=811"}],"version-history":[{"count":2,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/811\/revisions"}],"predecessor-version":[{"id":815,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/811\/revisions\/815"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/media\/608"}],"wp:attachment":[{"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}