{"id":2150,"date":"2020-12-17T13:51:19","date_gmt":"2020-12-17T11:51:19","guid":{"rendered":"https:\/\/www.virtono.com\/community\/?p=2150"},"modified":"2020-12-10T11:19:50","modified_gmt":"2020-12-10T09:19:50","slug":"get-kernel-statistics-and-hardware-information","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/knowledgebase\/get-kernel-statistics-and-hardware-information\/","title":{"rendered":"Get kernel statistics and hardware information"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When administering Linux systems, quick information about the installed kernel and the existing hardware is often helpful.&nbsp;The \/ proc filesystem provides extensive information on the console.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Solution:<\/strong>&nbsp;Linux systems reveal a lot about themselves, you just have to know where to look.&nbsp;The \/ proc file system, for example, allows&nbsp;very detailed information about hardware devices and the kernel&nbsp;on the&nbsp;command line&nbsp;.&nbsp;With&nbsp;<em>cat \/ proc \/ cpuinfo<\/em>&nbsp;the system lists what it&nbsp;knows about&nbsp;the&nbsp;processor&nbsp;or&nbsp;processors&nbsp;, such as the CPU name, clock frequency or processor stepping.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.tecchannel.de\/i\/detail\/artikel\/2034017\/1\/2143163\/d2e259-media\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/images.tecchannel.de\/bdb\/2143163\/840x473.jpg?w=750&#038;ssl=1\" alt=\"\/ proc: Linux reveals a lot of information about the hardware.\" title=\"\/ proc: Linux reveals a lot of information about the hardware.\"\/><\/a><figcaption>\/ proc: Linux reveals a lot of information about the hardware.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Other frequently used calls are&nbsp;<em>cat \/ proc \/ mounts<\/em>&nbsp;,&nbsp;<em>cat \/ proc \/ partitions \/, cat \/ proc \/ meminfo,<\/em>&nbsp;and&nbsp;<em>cat \/ proc \/ zoneinfo<\/em>&nbsp;.&nbsp;Just change to the&nbsp;<em>\/ proc directory<\/em>&nbsp;and browse around in it a bit.&nbsp;You will be amazed how informative&nbsp;Linux&nbsp;can be.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Even if \/ proc is a pseudo filesystem, there is still a man page with a lot of information about it:&nbsp;<em>man proc<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When administering Linux systems, quick information about the installed kernel and the existing hardware is often helpful.&nbsp;The \/ proc filesystem provides extensive information on the console. Solution:&nbsp;Linux systems reveal a lot about themselves, you just have to know where to look.&nbsp;The \/ proc file system, for example, allows&nbsp;very detailed information<\/p>\n","protected":false},"author":4,"featured_media":2152,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[5],"tags":[],"class_list":["post-2150","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/12\/Top-command1-1024x550-1.png?fit=1024%2C550&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-yG","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1265,"url":"https:\/\/www.virtono.com\/community\/internet-and-technology-news\/kernel-hackers-want-to-use-yaml-for-hardware-description\/","url_meta":{"origin":2150,"position":0},"title":"Kernel hackers want to use Yaml for hardware description","author":"Daniel Draga","date":"November 10, 2017","format":false,"excerpt":"Device Tree Sources (DTS) are used in the\u00a0Linux kernel\u00a0for describing hardware and should in future be defined in the Yaml format.\u00a0That brings some benefits, say kernel developers. The Device Trees concept is used in the Linux kernel to describe hardware that would otherwise not be discovered.\u00a0The information about this hardware\u2026","rel":"","context":"In &quot;IT News&quot;","block_context":{"text":"IT News","link":"https:\/\/www.virtono.com\/community\/category\/internet-and-technology-news\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/69535.png?fit=200%2C200&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1341,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/compiling-linux-kernels-under-ubuntu-or-debian-2\/","url_meta":{"origin":2150,"position":1},"title":"Compiling Linux kernels under Ubuntu or Debian","author":"Shreyash Sharma","date":"February 21, 2018","format":false,"excerpt":"Compiling a Linux kernel is not an everyday occurrence for most administrators.\u00a0It is all the more important\u00a0to know\u00a0the right\u00a0tools\u00a0when the time comes.\u00a0The following article shows examples of how Mainline \/ Vanilla Kernel and the distribution-specific\u00a0kernel are compiled\u00a0. \u00a0 Install required software The following packages are needed to compile: $ sudo\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2018\/02\/kernel1.png?fit=400%2C225&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":97,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/what-is-the-difference-between-kvm-and-openvz-virtualization\/","url_meta":{"origin":2150,"position":2},"title":"What is the difference between KVM and OpenVZ virtualization?","author":"Virtono","date":"July 18, 2016","format":false,"excerpt":"\u00a0 VS \u00a0What is the difference between KVM and OpenVZ? Usually this question arises when a person is looking for a Virtual Private Server, it\u2019s a dilemma, isn\u2019t it? Weighing the pros and cons but one thing that should be kept in mind is that out of these two, there\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2016\/07\/1-2.jpg?fit=1024%2C768&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2016\/07\/1-2.jpg?fit=1024%2C768&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2016\/07\/1-2.jpg?fit=1024%2C768&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2016\/07\/1-2.jpg?fit=1024%2C768&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1243,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/compiling-linux-kernels-under-ubuntu-or-debian\/","url_meta":{"origin":2150,"position":3},"title":"Compiling Linux kernels under Ubuntu or Debian","author":"Daniel Draga","date":"November 6, 2017","format":false,"excerpt":"Compiling a Linux kernel is not an everyday occurrence for most administrators.\u00a0It is all the more important\u00a0to know\u00a0the right\u00a0tools\u00a0when the time comes.\u00a0The following article shows examples of how Mainline \/ Vanilla Kernel and the distribution-specific\u00a0kernel are compiled. Install required software The following packages are needed to compile: $ sudo apt-get\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/517444-636210253990788094_270x480_thumb.jpg?fit=480%2C270&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1195,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/remove-old-kernels-in-ubuntu\/","url_meta":{"origin":2150,"position":4},"title":"Remove Old Kernels in Ubuntu","author":"Shreyash Sharma","date":"October 27, 2017","format":false,"excerpt":"For\u00a0Ubuntu\u00a0installations (prior to Ubuntu version 15.10) with\u00a0separate \/ boot partition\u00a0, it may fill up\u00a0after installing several updates\u00a0.\u00a0The issue occurs because older kernel versions are not automatically removed.\u00a0In this article, we'll show you how to manually uninstall older kernel versions, freeing up space in the \/ boot partition. Problem Installing new\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/Aug30-Kernel-Team-Summary.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/Aug30-Kernel-Team-Summary.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/Aug30-Kernel-Team-Summary.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/Aug30-Kernel-Team-Summary.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/Aug30-Kernel-Team-Summary.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1262,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/fix-the-error-no-init-found-try-passing-init-bootarg\/","url_meta":{"origin":2150,"position":5},"title":"Fix the error &#8220;No init found Try passing init bootarg&#8221;","author":"Daniel Draga","date":"November 10, 2017","format":false,"excerpt":"If a system with Ubuntu Linux does not shut down correctly, but suddenly fails due to a power failure without UPS backup, it can at the next start attempt for error message\u00a0No init found.\u00a0Try passing init = bootarg.\u00a0come.\u00a0The computer will not start in this case.\u00a0With a file system check you\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/maxresdefault-1.jpg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/maxresdefault-1.jpg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/maxresdefault-1.jpg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/maxresdefault-1.jpg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/11\/maxresdefault-1.jpg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/2150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=2150"}],"version-history":[{"count":3,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/2150\/revisions"}],"predecessor-version":[{"id":2161,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/2150\/revisions\/2161"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/2152"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=2150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=2150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=2150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}