{"id":12876,"date":"2021-12-09T14:28:46","date_gmt":"2021-12-09T14:28:46","guid":{"rendered":"https:\/\/linuxways.net\/?p=12876"},"modified":"2021-12-16T08:11:28","modified_gmt":"2021-12-16T08:11:28","slug":"htop-tool-in-linux","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/centos\/htop-tool-in-linux\/","title":{"rendered":"htop Tool in Linux"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>The htop command in Linux is used to monitor the activity of critical system resources or server processes in real-time. The htop command is newer than the top command, it allows mouse manipulation, has colors in the output and provides visual instructions for processor, memory, and swap usage.<\/p>\n<p>Now we&#8217;re gonna guide you about using the htop tool in Linux. Hope you understand.<\/p>\n<h2>Installing htop<\/h2>\n<p>Run apt command:<\/p>\n<pre>$ sudo apt install htop<\/pre>\n<p>Output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"449\" class=\"wp-image-12877\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-173.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-173.png 969w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-173-300x139.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-173-768x356.png 768w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/><\/p>\n<h2>The syntax of htop command<\/h2>\n<p>The syntax:<\/p>\n<pre>$ htop<\/pre>\n<p>Output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"309\" class=\"wp-image-12878\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-174.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-174.png 969w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-174-300x96.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-174-768x245.png 768w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/><\/p>\n<p>Press F10 to quit.<\/p>\n<h2>Options<\/h2>\n<p><strong>1. -C<\/strong>: show table without color<\/p>\n<pre>$ htop -C<\/pre>\n<p>Output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"968\" height=\"245\" class=\"wp-image-12879\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-175.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-175.png 968w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-175-300x76.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-175-768x194.png 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/p>\n<p><strong>2. -t<\/strong>: display tree view<\/p>\n<pre>$ htop -t<\/pre>\n<p>Output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"971\" height=\"399\" class=\"wp-image-12880\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-176.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-176.png 971w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-176-300x123.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-176-768x316.png 768w\" sizes=\"auto, (max-width: 971px) 100vw, 971px\" \/><\/p>\n<p><strong>3. -h<\/strong>: display help message<\/p>\n<pre>$ htop -h<\/pre>\n<p>Output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"369\" class=\"wp-image-12881\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-177.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-177.png 969w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-177-300x114.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-177-768x292.png 768w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/><\/p>\n<p><strong>4. -v<\/strong>: check your version<\/p>\n<pre>$ htop -v<\/pre>\n<p>Output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"970\" height=\"112\" class=\"wp-image-12882\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-178.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-178.png 970w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-178-300x35.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-178-768x89.png 768w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/p>\n<p><strong>5. Interactive buttons<\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"970\" height=\"44\" class=\"wp-image-12883\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-179.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-179.png 970w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-179-300x14.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-179-768x35.png 768w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/strong><\/p>\n<h2>Conclusion<\/h2>\n<p>And we guided you on how to use the htop tool in Linux.<\/p>\n<p>Thank you for checking it out!<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction The htop command in Linux is used to monitor the activity of critical system resources or server processes in real-time. The htop command is newer than the&hellip;<\/p>","protected":false},"author":1,"featured_media":13015,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,4,5,83,165,2],"tags":[752],"class_list":["post-12876","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-debian","category-mint","category-opensuse","category-red-hat","category-ubuntu","tag-htop"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/12876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=12876"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/12876\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/13015"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=12876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=12876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=12876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}