{"id":2277,"date":"2016-07-22T14:43:28","date_gmt":"2016-07-22T18:43:28","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=2277"},"modified":"2017-12-12T15:50:21","modified_gmt":"2017-12-12T20:50:21","slug":"install-htop-monitoring-process","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/","title":{"rendered":"How to install the htop monitoring process on Debian, Ubuntu or CentOS"},"content":{"rendered":"<h1>How to install the htop monitoring process on Debian, Ubuntu or CentOS<\/h1>\n<p>If you&#8217;ve administered a Linux server, you&#8217;ve almost certainly used the program top to monitor system processes. Unfortunately, top is a bit lacking in the user friendliness department.<\/p>\n<p>There&#8217;s an excellent alternative available called htop which provides much more information about the processes that are running on your system. Whereas top only shows the processes consuming the most resources, htop is much more verbose, displaying every process currently running. It&#8217;s also easier to navigate and view the information provided with both horizontal and vertical scrolling included. Finally, it has a much more pleasant color scheme than the original top program.<\/p>\n<h2>Getting Started<\/h2>\n<p>To complete this guide, you will need the following:<br \/>\n\u2022 1 Node (<a href=\"https:\/\/www.globo.tech\/cloud-server-pricing\" target=\"_blank\">Cloud Server<\/a> or <a href=\"http:\/\/www.globo.tech\/dedicated-server-hosting\" target=\"_blank\">Dedicated Server<\/a>) running Ubuntu, Debian or CentOS.<br \/>\n\u2022 All commands should be run as the root user<\/p>\n<h2>Step-by-step guide<\/h2>\n<p>Installing htop on CentOS 6\/7 requires that you add the Epel repository to your system.<\/p>\n<p><code>yum install epel-release -y<\/code><\/p>\n<p>Now you can run the following command to download and install htop.<\/p>\n<p><code>yum install htop -y<\/code><\/p>\n<p>On Debian and Ubuntu, htop is included in the default repos, and so installing htop requires just one step.<\/p>\n<p><code>apt-get install htop<\/code><\/p>\n<p>Once you have htop installed, you can run it with the following command:<\/p>\n<p><code>htop<\/code><\/p>\n<p>htop will run in a fullscreen ncurses window. There are three separate sections, each with a different category of information.<\/p>\n<p>The top of the window displays information about the current system status, such as the system uptime; current CPU, memory and swap utilization; and the number of tasks that are active.<\/p>\n<p>The bottom of the window shows various commands that you can access using the function keys. You can use these commands to look up help, to filter htop results, and more.<\/p>\n<p>The middle of the window shows the currently running processes. You can switch from the default view to a handy tree view by pressing the &#8216;t&#8217; key. If you&#8217;d like to change the sorting, simply press F6. You will then be presented with a number of values by which you can reorder the list of processes. A common one is CPU%, which will sort the processes by what percentage of the CPU they are using. You can also sort by USER, MEM% and TIME%, among other options.<\/p>\n<h2>Conclusion<\/h2>\n<p>It&#8217;s essential to be able to quickly see what processes are taking up memory. With htop, you have an easy way to quickly view a variety of different kinds of information on running processes and your system as a whole. Experiment to see how you can tweak htop to suit your personal needs. If this guide was helpful to you, kindly share it with others who may also be interested. <\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>How to install the htop monitoring process on Debian, Ubuntu or CentOS If you&#8217;ve administered a Linux server, you&#8217;ve almost certainly used the program top to monitor system processes. Unfortunately, top is a bit lacking in the user friendliness department. There&#8217;s an excellent alternative available called htop which provides much more information about the processes<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[74],"tags":[],"class_list":["post-2277","post","type-post","status-publish","format-standard","hentry","category-networking","operating_system-centos-7","operating_system-debian"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to install the htop monitoring process on Debian, Ubuntu or CentOS - Globo.Tech<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to install th htop monitoring process on your Debian, Ubuntu or CentOS Server. Read now &amp; Monitor your system processes!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install the htop monitoring process on Debian, Ubuntu or CentOS - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"This tutorial will show you how to install th htop monitoring process on your Debian, Ubuntu or CentOS Server. Read now &amp; Monitor your system processes!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-22T18:43:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-12T20:50:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"963\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"GloboTech Communications\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GloboTech Communications\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/\",\"name\":\"How to install the htop monitoring process on Debian, Ubuntu or CentOS - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\"},\"datePublished\":\"2016-07-22T18:43:28+00:00\",\"dateModified\":\"2017-12-12T20:50:21+00:00\",\"author\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"This tutorial will show you how to install th htop monitoring process on your Debian, Ubuntu or CentOS Server. Read now & Monitor your system processes!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.globo.tech\/learning-center\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install the htop monitoring process on Debian, Ubuntu or CentOS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/\",\"name\":\"Globo.Tech\",\"description\":\"Welcome to the Official Globo.Tech Learning Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\",\"name\":\"GloboTech Communications\",\"sameAs\":[\"http:\/\/www.gtcomm.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install the htop monitoring process on Debian, Ubuntu or CentOS - Globo.Tech","description":"This tutorial will show you how to install th htop monitoring process on your Debian, Ubuntu or CentOS Server. Read now & Monitor your system processes!","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:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/","og_locale":"en_US","og_type":"article","og_title":"How to install the htop monitoring process on Debian, Ubuntu or CentOS - Globo.Tech","og_description":"This tutorial will show you how to install th htop monitoring process on your Debian, Ubuntu or CentOS Server. Read now & Monitor your system processes!","og_url":"https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/","og_site_name":"Globo.Tech","article_published_time":"2016-07-22T18:43:28+00:00","article_modified_time":"2017-12-12T20:50:21+00:00","og_image":[{"width":1920,"height":963,"url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png","type":"image\/png"}],"author":"GloboTech Communications","twitter_misc":{"Written by":"GloboTech Communications","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/","url":"https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/","name":"How to install the htop monitoring process on Debian, Ubuntu or CentOS - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"datePublished":"2016-07-22T18:43:28+00:00","dateModified":"2017-12-12T20:50:21+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"This tutorial will show you how to install th htop monitoring process on your Debian, Ubuntu or CentOS Server. Read now & Monitor your system processes!","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/install-htop-monitoring-process\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"How to install the htop monitoring process on Debian, Ubuntu or CentOS"}]},{"@type":"WebSite","@id":"https:\/\/www.globo.tech\/learning-center\/#website","url":"https:\/\/www.globo.tech\/learning-center\/","name":"Globo.Tech","description":"Welcome to the Official Globo.Tech Learning Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87","name":"GloboTech Communications","sameAs":["http:\/\/www.gtcomm.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/comments?post=2277"}],"version-history":[{"count":4,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2277\/revisions"}],"predecessor-version":[{"id":3993,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2277\/revisions\/3993"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=2277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=2277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=2277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}