{"id":11299,"date":"2019-03-13T00:18:58","date_gmt":"2019-03-13T00:18:58","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=11299"},"modified":"2019-03-13T00:18:58","modified_gmt":"2019-03-13T00:18:58","slug":"10-useful-commands-to-collect-system-and-hardware-information-in-linux","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/10-useful-commands-to-collect-system-and-hardware-information-in-linux\/","title":{"rendered":"10 Useful Commands to Collect System and Hardware Information in Linux"},"content":{"rendered":"<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.<\/p>\n<p>Therefore in this\u00a0<a href=\"https:\/\/www.tecmint.com\/tag\/linux-tricks\/\" target=\"_blank\" rel=\"noopener\">tips and tricks<\/a>, we shall look at some useful commands that can help you to extract information about your Linux system and hardware components.<\/p>\n<h3>1. How to View Linux System Information<\/h3>\n<p>To know only system name, you can use\u00a0<strong>uname<\/strong>\u00a0command without any switch will print system information or\u00a0<strong>uname -s<\/strong>\u00a0command will print the kernel name of your system.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>uname<\/strong>\r\n\r\n<strong>Linux<\/strong>\r\n<\/pre>\n<p>To view your network hostname, use\u00a0<strong>\u2018-n\u2019<\/strong>\u00a0switch with uname command as shown.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>uname -n<\/strong>\r\n\r\n<strong>tecmint.com<\/strong>\r\n<\/pre>\n<p><center>To get information about kernel-version, use\u00a0<strong>\u2018-v\u2019<\/strong>\u00a0switch.<\/center><\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>uname -v<\/strong>\r\n\r\n<strong>#64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014<\/strong>\r\n<\/pre>\n<p>To get the information about your kernel release, use\u00a0<strong>\u2018-r\u2019<\/strong>\u00a0switch.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>uname -r<\/strong>\r\n\r\n<strong>3.13.0-37-generic<\/strong>\r\n<\/pre>\n<p>To print your machine hardware name, use\u00a0<strong>\u2018-m\u2019<\/strong>\u00a0switch:<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>uname -m<\/strong>\r\n\r\n<strong>x86_64<\/strong>\r\n<\/pre>\n<p>All this information can be printed at once by running\u00a0<strong>\u2018uname -a\u2019<\/strong>\u00a0command as shown below.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>uname -a<\/strong>\r\n\r\n<strong>Linux tecmint.com 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU\/Linux<\/strong>\r\n<\/pre>\n<h3>2. How to View Linux System Hardware Information<\/h3>\n<p>Here you can use the\u00a0<strong>lshw tool<\/strong>\u00a0to gather vast information about your hardware components such as\u00a0<strong>cpu<\/strong>,\u00a0<strong>disks<\/strong>,\u00a0<strong>memory<\/strong>,\u00a0<strong>usb controllers<\/strong>\u00a0etc.<\/p>\n<p><strong>lshw<\/strong>\u00a0is a relatively small tool and there are few options that you can use with it while extracting information. The information provided by\u00a0<strong>lshw<\/strong>\u00a0gathered form different\u00a0<strong>\/proc<\/strong>\u00a0files.<\/p>\n<p><strong>Note<\/strong>: Do remember that the\u00a0<strong>lshw<\/strong>\u00a0command executed by superuser (<strong>root<\/strong>) or\u00a0<strong>sudo<\/strong>\u00a0user.<\/p>\n<p><strong>Read Also<\/strong>:\u00a0<a href=\"https:\/\/www.tecmint.com\/su-vs-sudo-and-how-to-configure-sudo-in-linux\/\" target=\"_blank\" rel=\"noopener\">Difference Between su and sudo User in Linux<\/a><\/p>\n<p>To print information about your Linux system hardware, run this command.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo lshw<\/strong>\r\n\r\ntecmint.com               \r\n    description: Notebook\r\n    product: 20354 (LENOVO_MT_20354_BU_idea_FM_Lenovo Z50-70)\r\n    vendor: LENOVO\r\n    version: Lenovo Z50-70\r\n    serial: 1037407803441\r\n    width: 64 bits\r\n    capabilities: smbios-2.7 dmi-2.7 vsyscall32\r\n    configuration: administrator_password=disabled boot=normal chassis=notebook family=IDEAPAD frontpanel_password=disabled keyboard_password=disabled power-on_password=disabled sku=LENOVO_MT_20354_BU_idea_FM_Lenovo Z50-70 uuid=E4B1D229-D237-E411-9F6E-28D244EBBD98\r\n  *-core\r\n       description: Motherboard\r\n       product: Lancer 5A5\r\n       vendor: LENOVO\r\n       physical id: 0\r\n       version: 31900059WIN\r\n       serial: YB06377069\r\n       slot: Type2 - Board Chassis Location\r\n     *-firmware\r\n          description: BIOS\r\n          vendor: LENOVO\r\n          physical id: 0\r\n          version: 9BCN26WW\r\n          date: 07\/31\/2014\r\n          size: 128KiB\r\n          capacity: 4032KiB\r\n          capabilities: pci upgrade shadowing cdboot bootselect edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int9keyboard int10video acpi usb biosbootspecification uefi\r\n......\r\n<\/pre>\n<p>You can print a summary of your hardware information by using the\u00a0<strong>-short<\/strong>\u00a0option.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo lshw -short<\/strong>\r\n\r\nH\/W path       Device      Class          Description\r\n=====================================================\r\n                           system         20354 (LENOVO_MT_20354_BU_idea_FM_Lenovo Z50-70)\r\n\/0                         bus            Lancer 5A5\r\n\/0\/0                       memory         128KiB BIOS\r\n\/0\/4                       processor      Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz\r\n\/0\/4\/b                     memory         32KiB L1 cache\r\n\/0\/4\/c                     memory         256KiB L2 cache\r\n\/0\/4\/d                     memory         3MiB L3 cache\r\n\/0\/a                       memory         32KiB L1 cache\r\n\/0\/12                      memory         8GiB System Memory\r\n\/0\/12\/0                    memory         DIMM [empty]\r\n\/0\/12\/1                    memory         DIMM [empty]\r\n\/0\/12\/2                    memory         8GiB SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)\r\n\/0\/12\/3                    memory         DIMM [empty]\r\n\/0\/100                     bridge         Haswell-ULT DRAM Controller\r\n\/0\/100\/2                   display        Haswell-ULT Integrated Graphics Controller\r\n\/0\/100\/3                   multimedia     Haswell-ULT HD Audio Controller\r\n...\r\n<\/pre>\n<p>If you wish to generate output as a html file, you can use the option\u00a0<strong>-html<\/strong>.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo lshw -html &gt; lshw.html<\/strong>\r\n<\/pre>\n<div id=\"attachment_15767\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/09\/Generate-Linux-Hardware-Information.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15767\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/09\/Generate-Linux-Hardware-Information.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/09\/Generate-Linux-Hardware-Information.png 775w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/09\/Generate-Linux-Hardware-Information-620x423.png 620w\" alt=\"Generate Linux Hardware Information in HTML\" width=\"620\" height=\"423\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Generate Linux Hardware Information in HTML<\/p>\n<\/div>\n<h3>3. How to View Linux CPU Information<\/h3>\n<p>To view information about your CPU, use the lscpu command as it shows information about your CPU architecture such as number of CPU\u2019s, cores, CPU family model, CPU caches, threads, etc from\u00a0<strong>sysfs<\/strong>\u00a0and\u00a0<strong>\/proc\/cpuinfo<\/strong>.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>lscpu<\/strong>\r\n\r\nArchitecture:          x86_64\r\nCPU op-mode(s):        32-bit, 64-bit\r\nByte Order:            Little Endian\r\nCPU(s):                4\r\nOn-line CPU(s) list:   0-3\r\nThread(s) per core:    2\r\nCore(s) per socket:    2\r\nSocket(s):             1\r\nNUMA node(s):          1\r\nVendor ID:             GenuineIntel\r\nCPU family:            6\r\nModel:                 69\r\nStepping:              1\r\nCPU MHz:               768.000\r\nBogoMIPS:              4788.72\r\nVirtualization:        VT-x\r\nL1d cache:             32K\r\nL1i cache:             32K\r\nL2 cache:              256K\r\nL3 cache:              3072K\r\nNUMA node0 CPU(s):     0-3\r\n<\/pre>\n<h3>4. How to Collect Linux Block Device Information<\/h3>\n<p>Block devices are storage devices such as hard disks, flash drives etc.\u00a0<strong>lsblk<\/strong>\u00a0command is used to report information about block devices as follows.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>lsblk<\/strong>\r\n\r\nNAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT\r\nsda       8:0    0 931.5G  0 disk \r\n\u251c\u2500sda1    8:1    0  1000M  0 part \r\n\u251c\u2500sda2    8:2    0   260M  0 part \/boot\/efi\r\n\u251c\u2500sda3    8:3    0  1000M  0 part \r\n\u251c\u2500sda4    8:4    0   128M  0 part \r\n\u251c\u2500sda5    8:5    0 557.1G  0 part \r\n\u251c\u2500sda6    8:6    0    25G  0 part \r\n\u251c\u2500sda7    8:7    0  14.7G  0 part \r\n\u251c\u2500sda8    8:8    0     1M  0 part \r\n\u251c\u2500sda9    8:9    0 324.5G  0 part \/\r\n\u2514\u2500sda10   8:10   0   7.9G  0 part [SWAP]\r\nsr0      11:0    1  1024M  0 rom  \r\n<\/pre>\n<p>If you want to view all block devices on your system then include the\u00a0<strong>-a<\/strong>\u00a0option.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>lsblk -a<\/strong>\r\n\r\nNAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT\r\nsda       8:0    0 931.5G  0 disk \r\n\u251c\u2500sda1    8:1    0  1000M  0 part \r\n\u251c\u2500sda2    8:2    0   260M  0 part \/boot\/efi\r\n\u251c\u2500sda3    8:3    0  1000M  0 part \r\n\u251c\u2500sda4    8:4    0   128M  0 part \r\n\u251c\u2500sda5    8:5    0 557.1G  0 part \r\n\u251c\u2500sda6    8:6    0    25G  0 part \r\n\u251c\u2500sda7    8:7    0  14.7G  0 part \r\n\u251c\u2500sda8    8:8    0     1M  0 part \r\n\u251c\u2500sda9    8:9    0 324.5G  0 part \/\r\n\u2514\u2500sda10   8:10   0   7.9G  0 part [SWAP]\r\nsdb       8:16   1         0 disk \r\nsr0      11:0    1  1024M  0 rom  \r\nram0      1:0    0    64M  0 disk \r\nram1      1:1    0    64M  0 disk \r\nram2      1:2    0    64M  0 disk \r\nram3      1:3    0    64M  0 disk \r\nram4      1:4    0    64M  0 disk \r\nram5      1:5    0    64M  0 disk \r\nram6      1:6    0    64M  0 disk \r\nram7      1:7    0    64M  0 disk \r\nram8      1:8    0    64M  0 disk \r\nram9      1:9    0    64M  0 disk \r\nloop0     7:0    0         0 loop \r\nloop1     7:1    0         0 loop \r\nloop2     7:2    0         0 loop \r\nloop3     7:3    0         0 loop \r\nloop4     7:4    0         0 loop \r\nloop5     7:5    0         0 loop \r\nloop6     7:6    0         0 loop \r\nloop7     7:7    0         0 loop \r\nram10     1:10   0    64M  0 disk \r\nram11     1:11   0    64M  0 disk \r\nram12     1:12   0    64M  0 disk \r\nram13     1:13   0    64M  0 disk \r\nram14     1:14   0    64M  0 disk \r\nram15     1:15   0    64M  0 disk \r\n<\/pre>\n<h3>5. How to Print USB Controllers Information<\/h3>\n<p>The\u00a0<strong>lsusb<\/strong>\u00a0command is used to report information about USB controllers and all the devices that are connected to them.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>lsusb<\/strong>\r\n\r\nBus 001 Device 002: ID 8087:8000 Intel Corp. \r\nBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\r\nBus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub\r\nBus 002 Device 005: ID 0bda:b728 Realtek Semiconductor Corp. \r\nBus 002 Device 004: ID 5986:0249 Acer, Inc \r\nBus 002 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller\r\nBus 002 Device 002: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0\r\nBus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\r\n<\/pre>\n<p>You can use the\u00a0<strong>-v<\/strong>\u00a0option to generate a detailed information about each USB device.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>lsusb -v<\/strong>\r\n<\/pre>\n<h3>6. How to Print PCI Devices Information<\/h3>\n<p>PCI devices may included usb ports, graphics cards, network adapters etc. The\u00a0<strong>lspci tool<\/strong>\u00a0is used to generate information concerning all PCI controllers on your system plus the devices that are connected to them.<\/p>\n<p>To print information about PCI devices run the following command.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>lspci<\/strong>\r\n\r\n00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)\r\n00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)\r\n00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)\r\n00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04)\r\n00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)\r\n00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)\r\n00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 3 (rev e4)\r\n00:1c.3 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 4 (rev e4)\r\n00:1c.4 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 5 (rev e4)\r\n00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 (rev 04)\r\n00:1f.0 ISA bridge: Intel Corporation Lynx Point-LP LPC Controller (rev 04)\r\n00:1f.2 SATA controller: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] (rev 04)\r\n00:1f.3 SMBus: Intel Corporation Lynx Point-LP SMBus Controller (rev 04)\r\n01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111\/8168\/8411 PCI Express Gigabit Ethernet Controller (rev 10)\r\n02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter\r\n03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)\r\n<\/pre>\n<p>Use the\u00a0<strong>-t<\/strong>\u00a0option to produce output in a tree format.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>lspci -t<\/strong>\r\n\r\n-[0000:00]-+-00.0\r\n           +-02.0\r\n           +-03.0\r\n           +-14.0\r\n           +-16.0\r\n           +-1b.0\r\n           +-1c.0-[01]----00.0\r\n           +-1c.3-[02]----00.0\r\n           +-1c.4-[03]----00.0\r\n           +-1d.0\r\n           +-1f.0\r\n           +-1f.2\r\n           \\-1f.3\r\n<\/pre>\n<p>Use the\u00a0<strong>-v<\/strong>\u00a0option to produce detailed information about each connected device.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>lspci -v<\/strong>\r\n\r\n00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)\r\n\tSubsystem: Lenovo Device 3978\r\n\tFlags: bus master, fast devsel, latency 0\r\n\tCapabilities: \r\n\r\n00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) (prog-if 00 [VGA controller])\r\n\tSubsystem: Lenovo Device 380d\r\n\tFlags: bus master, fast devsel, latency 0, IRQ 62\r\n\tMemory at c3000000 (64-bit, non-prefetchable) [size=4M]\r\n\tMemory at d0000000 (64-bit, prefetchable) [size=256M]\r\n\tI\/O ports at 6000 [size=64]\r\n\tExpansion ROM at  [disabled]\r\n\tCapabilities: \r\n\tKernel driver in use: i915\r\n.....\r\n<\/pre>\n<h3>7. How to Print SCSI Devices Information<\/h3>\n<p>To view all your scsi\/sata devices, use the\u00a0<strong>lsscsi<\/strong>\u00a0command as follows. If you do not have\u00a0<strong>lsscsi<\/strong>\u00a0tool installed, run the following command to install it.<\/p>\n<pre>$ sudo apt-get install lsscsi        [on <strong>Debian<\/strong> derivatives]\r\n# yum install lsscsi                 [On RedHat based systems]\r\n# dnf install lsscsi                 [On Fedora 21+ Onwards]\r\n<\/pre>\n<p>After install, run the\u00a0<strong>lsscsi<\/strong>\u00a0command as shown:<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>lsscsi<\/strong>\r\n\r\n[0:0:0:0]    disk    ATA      ST1000LM024 HN-M 2BA3  \/dev\/sda \r\n[1:0:0:0]    cd\/dvd  PLDS     DVD-RW DA8A5SH   RL61  \/dev\/sr0 \r\n[4:0:0:0]    disk    Generic- xD\/SD\/M.S.       1.00  \/dev\/sdb \r\n<\/pre>\n<p>Use the\u00a0<strong>-s<\/strong>\u00a0option to show device sizes.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>lsscsi -s<\/strong>\r\n\r\n[0:0:0:0]    disk    ATA      ST1000LM024 HN-M 2BA3  \/dev\/sda   1.00TB\r\n[1:0:0:0]    cd\/dvd  PLDS     DVD-RW DA8A5SH   RL61  \/dev\/sr0        -\r\n[4:0:0:0]    disk    Generic- xD\/SD\/M.S.       1.00  \/dev\/sdb        -\r\n<\/pre>\n<h3>8. How to Print Information about SATA Devices<\/h3>\n<p>You can find some information about sata devices on your system as follows using the\u00a0<strong>hdparm<\/strong>\u00a0utility. In the example below, I used the block device\u00a0<strong>\/dev\/sda1<\/strong>\u00a0which the harddisk on my system.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo hdparm \/dev\/sda1<\/strong>\r\n\r\n\/dev\/sda1:\r\n multcount     =  0 (off)\r\n IO_support    =  1 (32-bit)\r\n readonly      =  0 (off)\r\n readahead     = 256 (on)\r\n geometry      = 56065\/255\/63, sectors = 2048000, start = 2048\r\n<\/pre>\n<p>To print information about device geometry interms of cylinders, heads, sectors, size and the starting offset of the device, use the\u00a0<strong>-g<\/strong>\u00a0option.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo hdparm -g \/dev\/sda1<\/strong>\r\n\r\n\/dev\/sda1:\r\n geometry      = 56065\/255\/63, sectors = 2048000, start = 2048\r\n<\/pre>\n<h3>9. How to Print Linux File System Information<\/h3>\n<p>To gather information about file system partitions, you can use\u00a0<strong>fdisk<\/strong>\u00a0command. Although the main functionality of\u00a0<strong>fdisk<\/strong>\u00a0command is to modify file system partitions, it can also be used to view information about the different partitions on your file system.<\/p>\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.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo fdisk -l<\/strong>\r\n\r\nWARNING: GPT (GUID Partition Table) detected on '\/dev\/sda'! The util fdisk doesn't support GPT. Use GNU Parted.\r\n\r\n\r\nDisk \/dev\/sda: 1000.2 GB, 1000204886016 bytes\r\n255 heads, 63 sectors\/track, 121601 cylinders, total 1953525168 sectors\r\nUnits = sectors of 1 * 512 = 512 bytes\r\nSector size (logical\/physical): 512 bytes \/ 4096 bytes\r\nI\/O size (minimum\/optimal): 4096 bytes \/ 4096 bytes\r\nDisk identifier: 0xcee8ad92\r\n\r\n   Device Boot      Start         End      Blocks   Id  System\r\n\/dev\/sda1               1  1953525167   976762583+  ee  GPT\r\nPartition 1 does not start on physical sector boundary.\r\n<\/pre>\n<h3>10. How to Extract Information about Hardware Components<\/h3>\n<p>You can also use the\u00a0<a href=\"https:\/\/www.tecmint.com\/how-to-get-hardware-information-with-dmidecode-command-on-linux\/\" target=\"_blank\" rel=\"noopener\">dmidecode utility<\/a>\u00a0to extract hardware information by reading data from the DMI tables.<\/p>\n<p>To print information about memory, run this command as a superuser.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo dmidecode -t memory<\/strong>\r\n\r\n# dmidecode 2.12\r\n# SMBIOS entry point at 0xaaebef98\r\nSMBIOS 2.7 present.\r\n\r\nHandle 0x0005, DMI type 5, 24 bytes\r\nMemory Controller Information\r\n\tError Detecting Method: None\r\n\tError Correcting Capabilities:\r\n\t\tNone\r\n\tSupported Interleave: One-way Interleave\r\n\tCurrent Interleave: One-way Interleave\r\n\tMaximum Memory Module Size: 8192 MB\r\n\tMaximum Total Memory Size: 32768 MB\r\n\tSupported Speeds:\r\n\t\tOther\r\n\tSupported Memory Types:\r\n\t\tOther\r\n\tMemory Module Voltage: Unknown\r\n\tAssociated Memory Slots: 4\r\n\t\t0x0006\r\n\t\t0x0007\r\n\t\t0x0008\r\n\t\t0x0009\r\n\tEnabled Error Correcting Capabilities:\r\n\t\tNone\r\n...\r\n<\/pre>\n<p>To print information about system, run this command.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo dmidecode -t system<\/strong>\r\n\r\n# dmidecode 2.12\r\n# SMBIOS entry point at 0xaaebef98\r\nSMBIOS 2.7 present.\r\n\r\nHandle 0x0001, DMI type 1, 27 bytes\r\nSystem Information\r\n\tManufacturer: LENOVO\r\n\tProduct Name: 20354\r\n\tVersion: Lenovo Z50-70\r\n\tSerial Number: 1037407803441\r\n\tUUID: 29D2B1E4-37D2-11E4-9F6E-28D244EBBD98\r\n\tWake-up Type: Power Switch\r\n\tSKU Number: LENOVO_MT_20354_BU_idea_FM_Lenovo Z50-70\r\n\tFamily: IDEAPAD\r\n...\r\n<\/pre>\n<p>To print information about BIOS, run this command.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo dmidecode -t bios<\/strong>\r\n\r\n# dmidecode 2.12\r\n# SMBIOS entry point at 0xaaebef98\r\nSMBIOS 2.7 present.\r\n\r\nHandle 0x0000, DMI type 0, 24 bytes\r\nBIOS Information\r\n\tVendor: LENOVO\r\n\tVersion: 9BCN26WW\r\n\tRelease Date: 07\/31\/2014\r\n\tAddress: 0xE0000\r\n\tRuntime Size: 128 kB\r\n\tROM Size: 4096 kB\r\n\tCharacteristics:\r\n\t\tPCI is supported\r\n\t\tBIOS is upgradeable\r\n\t\tBIOS shadowing is allowed\r\n\t\tBoot from CD is supported\r\n\t\tSelectable boot is supported\r\n\t\tEDD is supported\r\n\t\tJapanese floppy for NEC 9800 1.2 MB is supported (int 13h)\r\n\t\tJapanese floppy for Toshiba 1.2 MB is supported (int 13h)\r\n\t\t5.25\"\/360 kB floppy services are supported (int 13h)\r\n\t\t5.25\"\/1.2 MB floppy services are supported (int 13h)\r\n\t\t3.5\"\/720 kB floppy services are supported (int 13h)\r\n\t\t3.5\"\/2.88 MB floppy services are supported (int 13h)\r\n\t\t8042 keyboard services are supported (int 9h)\r\n\t\tCGA\/mono video services are supported (int 10h)\r\n\t\tACPI is supported\r\n\t\tUSB legacy is supported\r\n\t\tBIOS boot specification is supported\r\n\t\tTargeted content distribution is supported\r\n\t\tUEFI is supported\r\n\tBIOS Revision: 0.26\r\n\tFirmware Revision: 0.26\r\n...\r\n<\/pre>\n<p>To print information about processor, run this command.<\/p>\n<pre><strong>tecmint@tecmint ~ $<\/strong> <strong>sudo dmidecode -t processor<\/strong>\r\n\r\n# dmidecode 2.12\r\n# SMBIOS entry point at 0xaaebef98\r\nSMBIOS 2.7 present.\r\n\r\nHandle 0x0004, DMI type 4, 42 bytes\r\nProcessor Information\r\n\tSocket Designation: U3E1\r\n\tType: Central Processor\r\n\tFamily: Core i5\r\n\tManufacturer: Intel(R) Corporation\r\n\tID: 51 06 04 00 FF FB EB BF\r\n\tSignature: Type 0, Family 6, Model 69, Stepping 1\r\n\tFlags:\r\n...\r\n<\/pre>\n<h3>Summary<\/h3>\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\u00a0<strong>\/proc<\/strong>\u00a0directory to extract system information.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/commands-to-collect-system-and-hardware-information-in-linux\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<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. Therefore in this\u00a0tips and tricks, we shall look at some useful commands that can help you to extract information &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/13\/10-useful-commands-to-collect-system-and-hardware-information-in-linux\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;10 Useful Commands to Collect System and Hardware Information in Linux&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11299","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=11299"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11299\/revisions"}],"predecessor-version":[{"id":11307,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11299\/revisions\/11307"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=11299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=11299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=11299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}