{"id":3635,"date":"2016-04-02T11:04:03","date_gmt":"2016-04-02T11:04:03","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=3635"},"modified":"2021-02-06T05:39:35","modified_gmt":"2021-02-06T05:39:35","slug":"commands-check-hardware-information-linux","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/","title":{"rendered":"Commands to check hardware information on Linux"},"content":{"rendered":"<p>fThere are no of commands to check hardware information about your Linux systems, Some commands report only specific hardware components like CPU or memory while the rest show multiple hardware info.<br \/>\nIn this article we have a quick look at some of the commands which are used to check configuration details about different hardware devices.<!--more--><\/p>\n<p><strong>lscpu <\/strong><\/p>\n<p>The lscpu command reports information about the cpu and processing units. It does not have any further options or functionality.<\/p>\n<p><strong>lshw &#8211; List Hardware <\/strong><strong><br \/>\n<\/strong>A general purpose utility, that gives detailed and brief information about multiple hardware units such as cpu, memory, disk, usb controllers, network adapters etc.<\/p>\n<p><strong>hwinfo &#8211; Hardware Information <\/strong><\/p>\n<p>Hwinfo is another common purpose hardware searching application that can review specific and brief information about several different hardware elements.<\/p>\n<p><strong>lsscsi &#8211; List scsi devices<\/strong><\/p>\n<p>Lists out the <strong>scsi\/sata<\/strong> devices like hard drives and optical drives.<\/p>\n<p><strong>Inxi<\/strong><\/p>\n<p>Inxi is a bash script that fetches hardware details from multiple sources and commands on the system, and generates a report that non-technical users can review easily.<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">$ inxi -Fx<\/pre>\n<\/div>\n<p><strong>lsblk &#8211; List block devices<\/strong><\/p>\n<p>List out information about all block devices:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">lsblk<\/pre>\n<\/div>\n<p><strong>df &#8211; disk space of file systems<\/strong><\/p>\n<p>Reports various partitions, their mount points and the used and available space on each.<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">$ df -H<\/pre>\n<\/div>\n<p><strong>fdisk<\/strong><\/p>\n<p>Fdisk is a utility to modify partitions on hard drives, and can also be used to list out the partition information.<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">$ sudo fdisk -l<\/pre>\n<\/div>\n<p><strong>Mount<\/strong><\/p>\n<p>The mount command is used to mount\/unmount and view mounted file systems.<\/p>\n<div class=\"cpanel-files\"><\/div>\n<pre class=\"lang:default decode:true \">$ mount | column -t<\/pre>\n<div class=\"space1\"><\/div>\n<p>Use grep to find out only those file systems that you want to see<\/p>\n<div class=\"cpanel-files\"><\/div>\n<pre class=\"lang:default decode:true \">$ mount | column -t | grep ext<\/pre>\n<div class=\"space1\"><\/div>\n<p><strong>Pydf &#8211; Python df<\/strong><\/p>\n<p>An improved df version written in python, that displays colored output:<\/p>\n<div class=\"output-sh\">\n<pre class=\"lang:default decode:true \">$ pydf<\/pre>\n<\/div>\n<p>That\u2019s all about different commands to check hardware information, each and every command have its own specific way to extract the information.<\/p>\n<p>For those who don\u2019t want to remember or type the commands, there are many GUI tools that can be used to gte the detailed information about hardware.<strong> Hardinfo, I-nex<\/strong> are some of the popular ones.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>fThere are no of commands to check hardware information about your Linux systems, Some commands report only specific hardware components like CPU or memory while the rest show multiple hardware info. In this article we have a quick look at some of the commands which are used to check configuration details about different hardware devices. [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-3635","post","type-post","status-publish","format-standard","hentry","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Commands to check hardware information on Linux - cPanel Plesk<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Commands to check hardware information on Linux - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"fThere are no of commands to check hardware information about your Linux systems, Some commands report only specific hardware components like CPU or memory while the rest show multiple hardware info. In this article we have a quick look at some of the commands which are used to check configuration details about different hardware devices. [...]Continue Reading...\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Seemab Saleem\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/\"},\"author\":{\"name\":\"Seemab Saleem\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\"},\"headline\":\"Commands to check hardware information on Linux\",\"datePublished\":\"2016-04-02T11:04:03+00:00\",\"dateModified\":\"2021-02-06T05:39:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/\"},\"wordCount\":337,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/\",\"name\":\"Commands to check hardware information on Linux - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"datePublished\":\"2016-04-02T11:04:03+00:00\",\"dateModified\":\"2021-02-06T05:39:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Commands to check hardware information on Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\",\"name\":\"Seemab Saleem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"caption\":\"Seemab Saleem\"},\"description\":\"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!\",\"sameAs\":[\"https:\/\/cpanelplesk.com\/wp62\"],\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Commands to check hardware information on Linux - cPanel Plesk","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/","twitter_card":"summary_large_image","twitter_title":"Commands to check hardware information on Linux - cPanel Plesk","twitter_description":"fThere are no of commands to check hardware information about your Linux systems, Some commands report only specific hardware components like CPU or memory while the rest show multiple hardware info. In this article we have a quick look at some of the commands which are used to check configuration details about different hardware devices. [...]Continue Reading...","twitter_misc":{"Written by":"Seemab Saleem","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/"},"author":{"name":"Seemab Saleem","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648"},"headline":"Commands to check hardware information on Linux","datePublished":"2016-04-02T11:04:03+00:00","dateModified":"2021-02-06T05:39:35+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/"},"wordCount":337,"commentCount":0,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"articleSection":["Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/","url":"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/","name":"Commands to check hardware information on Linux - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"datePublished":"2016-04-02T11:04:03+00:00","dateModified":"2021-02-06T05:39:35+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/commands-check-hardware-information-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"Commands to check hardware information on Linux"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648","name":"Seemab Saleem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","caption":"Seemab Saleem"},"description":"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!","sameAs":["https:\/\/cpanelplesk.com\/wp62"],"url":"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/3635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=3635"}],"version-history":[{"count":0,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/3635\/revisions"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=3635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=3635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=3635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}