{"id":735,"date":"2020-11-18T17:55:00","date_gmt":"2020-11-18T12:25:00","guid":{"rendered":"http:\/\/www.ankitsharma.blog\/?p=735"},"modified":"2020-12-18T17:56:31","modified_gmt":"2020-12-18T12:26:31","slug":"htop-color-codes-explained","status":"publish","type":"post","link":"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/","title":{"rendered":"HTOP Color Codes Explained"},"content":{"rendered":"\n<p>HTOP is a popular ncurses-based process viewer for Linux. You can scroll through processes horizontally as well as vertically. Killing processes is also quite handy where you do not need to enter the PID.<\/p>\n\n\n\n<p>But have you noticed the color coded bars for CPU, Memory and Swap that comes up when you launch htop. They tell you the usage of respective resources in general but do those green\/yellow\/red color codes mean anything ? <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"74\" src=\"http:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-cpu-memory-1024x74.png\" alt=\"HTOP System Usage\" class=\"wp-image-743\" srcset=\"https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-cpu-memory-1024x74.png 1024w, https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-cpu-memory-300x22.png 300w, https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-cpu-memory-768x55.png 768w, https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-cpu-memory-1536x111.png 1536w, https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-cpu-memory-2048x147.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>HTOP Showing CPU \/ Memory \/ Swap Usage<\/figcaption><\/figure>\n\n\n\n<p>Those color codes on HTOP mean a lot of things. We will be discussing them here. Let&#8217;s start with CPU first.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">CPU<\/h3>\n\n\n\n<p>You can see 4 different colors for CPU usage.<\/p>\n\n\n\n<ul><li>Blue, signifies low priority processes usually reniced.<\/li><li>Green shows the normal priority process.<\/li><li>Red are the kernel processes.<\/li><li>Cyan are the Virtual processes in the system.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"830\" height=\"154\" src=\"http:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-cpu-usage-1.png\" alt=\"HTOP CPU Usage\" class=\"wp-image-751\" srcset=\"https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-cpu-usage-1.png 830w, https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-cpu-usage-1-300x56.png 300w, https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-cpu-usage-1-768x142.png 768w\" sizes=\"(max-width: 830px) 100vw, 830px\" \/><figcaption>HTOP CPU Usage<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Memory &amp; Swap<\/h3>\n\n\n\n<ol><li>Green is the used memory by normal processes.<\/li><li>Blue is the memory used by system buffers.<\/li><li>Yellow is the memory which is used as system cache.<\/li><li>Swap is shown using red bars in a separate row.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-memory-swap-usage-1024x66.png\" alt=\"HTOP Memory &amp; Swap Usage\" class=\"wp-image-753\" width=\"768\" height=\"50\" srcset=\"https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-memory-swap-usage-1024x66.png 1024w, https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-memory-swap-usage-300x19.png 300w, https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-memory-swap-usage-768x50.png 768w, https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-memory-swap-usage-1536x99.png 1536w, https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-memory-swap-usage.png 1642w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><figcaption>HTOP Memory &amp; Swap Usage<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>HTOP is a popular ncurses-based process viewer for Linux. You can scroll through processes horizontally as well as vertically. Killing processes is also quite handy where you do not need to enter the PID. But have you noticed the color&#8230; <\/p>\n","protected":false},"author":1,"featured_media":757,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,16],"tags":[24],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>HTOP Color Codes Explained &#187; Ankit Sharma<\/title>\n<meta name=\"description\" content=\"HTOP Linux process viewer color codes explained in detail. HTOP CPU &amp; Memory color code meaning.\" \/>\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.ankitsharma.blog\/index.php\/htop-color-codes-explained\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HTOP Color Codes Explained &#187; Ankit Sharma\" \/>\n<meta property=\"og:description\" content=\"HTOP Linux process viewer color codes explained in detail. HTOP CPU &amp; Memory color code meaning.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/\" \/>\n<meta property=\"og:site_name\" content=\"Ankit Sharma\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-18T12:25:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-18T12:26:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-color-codes.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3342\" \/>\n\t<meta property=\"og:image:height\" content=\"1830\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ankit Sharma\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ankit Sharma\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/\"},\"author\":{\"name\":\"Ankit Sharma\",\"@id\":\"https:\/\/www.ankitsharma.blog\/#\/schema\/person\/37b04ecf3989b3c285db5048cc61a918\"},\"headline\":\"HTOP Color Codes Explained\",\"datePublished\":\"2020-11-18T12:25:00+00:00\",\"dateModified\":\"2020-12-18T12:26:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/\"},\"wordCount\":188,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.ankitsharma.blog\/#\/schema\/person\/37b04ecf3989b3c285db5048cc61a918\"},\"keywords\":[\"Linux\"],\"articleSection\":[\"Linux\",\"technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/\",\"url\":\"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/\",\"name\":\"HTOP Color Codes Explained &#187; Ankit Sharma\",\"isPartOf\":{\"@id\":\"https:\/\/www.ankitsharma.blog\/#website\"},\"datePublished\":\"2020-11-18T12:25:00+00:00\",\"dateModified\":\"2020-12-18T12:26:31+00:00\",\"description\":\"HTOP Linux process viewer color codes explained in detail. HTOP CPU & Memory color code meaning.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ankitsharma.blog\/#website\",\"url\":\"https:\/\/www.ankitsharma.blog\/\",\"name\":\"Ankit Sharma\",\"description\":\"technology | food | cars | lifesyle | rants\",\"publisher\":{\"@id\":\"https:\/\/www.ankitsharma.blog\/#\/schema\/person\/37b04ecf3989b3c285db5048cc61a918\"},\"alternateName\":\"ankitsharma\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ankitsharma.blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.ankitsharma.blog\/#\/schema\/person\/37b04ecf3989b3c285db5048cc61a918\",\"name\":\"Ankit Sharma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ankitsharma.blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2021\/11\/cropped-ankitsharma-logo1.png\",\"contentUrl\":\"https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2021\/11\/cropped-ankitsharma-logo1.png\",\"width\":415,\"height\":68,\"caption\":\"Ankit Sharma\"},\"logo\":{\"@id\":\"https:\/\/www.ankitsharma.blog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/www.ankitsharma.blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HTOP Color Codes Explained &#187; Ankit Sharma","description":"HTOP Linux process viewer color codes explained in detail. HTOP CPU & Memory color code meaning.","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.ankitsharma.blog\/index.php\/htop-color-codes-explained\/","og_locale":"en_US","og_type":"article","og_title":"HTOP Color Codes Explained &#187; Ankit Sharma","og_description":"HTOP Linux process viewer color codes explained in detail. HTOP CPU & Memory color code meaning.","og_url":"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/","og_site_name":"Ankit Sharma","article_published_time":"2020-11-18T12:25:00+00:00","article_modified_time":"2020-12-18T12:26:31+00:00","og_image":[{"width":3342,"height":1830,"url":"https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2020\/12\/htop-color-codes.png","type":"image\/png"}],"author":"Ankit Sharma","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ankit Sharma","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/#article","isPartOf":{"@id":"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/"},"author":{"name":"Ankit Sharma","@id":"https:\/\/www.ankitsharma.blog\/#\/schema\/person\/37b04ecf3989b3c285db5048cc61a918"},"headline":"HTOP Color Codes Explained","datePublished":"2020-11-18T12:25:00+00:00","dateModified":"2020-12-18T12:26:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/"},"wordCount":188,"commentCount":0,"publisher":{"@id":"https:\/\/www.ankitsharma.blog\/#\/schema\/person\/37b04ecf3989b3c285db5048cc61a918"},"keywords":["Linux"],"articleSection":["Linux","technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/","url":"https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/","name":"HTOP Color Codes Explained &#187; Ankit Sharma","isPartOf":{"@id":"https:\/\/www.ankitsharma.blog\/#website"},"datePublished":"2020-11-18T12:25:00+00:00","dateModified":"2020-12-18T12:26:31+00:00","description":"HTOP Linux process viewer color codes explained in detail. HTOP CPU & Memory color code meaning.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ankitsharma.blog\/index.php\/htop-color-codes-explained\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.ankitsharma.blog\/#website","url":"https:\/\/www.ankitsharma.blog\/","name":"Ankit Sharma","description":"technology | food | cars | lifesyle | rants","publisher":{"@id":"https:\/\/www.ankitsharma.blog\/#\/schema\/person\/37b04ecf3989b3c285db5048cc61a918"},"alternateName":"ankitsharma","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ankitsharma.blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.ankitsharma.blog\/#\/schema\/person\/37b04ecf3989b3c285db5048cc61a918","name":"Ankit Sharma","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ankitsharma.blog\/#\/schema\/person\/image\/","url":"https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2021\/11\/cropped-ankitsharma-logo1.png","contentUrl":"https:\/\/www.ankitsharma.blog\/wp-content\/uploads\/2021\/11\/cropped-ankitsharma-logo1.png","width":415,"height":68,"caption":"Ankit Sharma"},"logo":{"@id":"https:\/\/www.ankitsharma.blog\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/www.ankitsharma.blog"]}]}},"_links":{"self":[{"href":"https:\/\/www.ankitsharma.blog\/index.php\/wp-json\/wp\/v2\/posts\/735"}],"collection":[{"href":"https:\/\/www.ankitsharma.blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ankitsharma.blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ankitsharma.blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ankitsharma.blog\/index.php\/wp-json\/wp\/v2\/comments?post=735"}],"version-history":[{"count":13,"href":"https:\/\/www.ankitsharma.blog\/index.php\/wp-json\/wp\/v2\/posts\/735\/revisions"}],"predecessor-version":[{"id":756,"href":"https:\/\/www.ankitsharma.blog\/index.php\/wp-json\/wp\/v2\/posts\/735\/revisions\/756"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ankitsharma.blog\/index.php\/wp-json\/wp\/v2\/media\/757"}],"wp:attachment":[{"href":"https:\/\/www.ankitsharma.blog\/index.php\/wp-json\/wp\/v2\/media?parent=735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ankitsharma.blog\/index.php\/wp-json\/wp\/v2\/categories?post=735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ankitsharma.blog\/index.php\/wp-json\/wp\/v2\/tags?post=735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}