<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>htop Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/htop/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sat, 02 Feb 2019 14:56:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>Using Gotop a graphical system monitor</title>
		<link>https://www.osradar.com/using-gotop-a-graphical-system-monitor/</link>
					<comments>https://www.osradar.com/using-gotop-a-graphical-system-monitor/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 04 Feb 2019 05:00:09 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[go]]></category>
		<category><![CDATA[gotop]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[htop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[top]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=10489</guid>

					<description><![CDATA[<p>It is always a good idea to know various tools for monitoring systems from the terminal. Of course, they can not be compared to professional tools like Zabbix, but neither do many users really need them. We&#8217;ve already talked about Hegemon. Now it is Gotop&#8217;s turn. Using Gotop you can see the resources spent by [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/using-gotop-a-graphical-system-monitor/">Using Gotop a graphical system monitor</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>It is always a good idea to know various tools for monitoring systems from the terminal. Of course, they can not be compared to professional tools like Zabbix, but neither do many users really need them. We&#8217;ve already talked about Hegemon. Now it is Gotop&#8217;s turn. Using Gotop you can see the resources spent by the system in a very friendly way.</p>
<p><a href="https://github.com/cjbassi/gotop" rel="noopener">Gotop is another terminal based graphical</a> activity monitor, inspired by gtop and vtop, this time written in Go. With this tool, you can visualize the resources that your system consumes in a very friendly way. It is written in <a href="https://www.osradar.com/install-go-language-ubuntu-18-04/" rel="noopener">Go</a> with many advantages in execution time. It is quite fast and does not consume almost resources.</p>
<p>Some of its main features are:</p>
<ul>
<li>It is available for all Linux distributions. As well as for Mac OS and BSD.</li>
<li>You can customize the color scheme of the application adapting it to your needs.</li>
<li>It is open source. The program is released under the <a href="https://github.com/cjbassi/gotop/blob/master/LICENSE" rel="noopener">GNU Affero General Public License</a>.</li>
<li>You can monitor CPU, Network, RAM, battery level and processes.</li>
</ul>
<p>And many more.</p>
<p>So, let using Gotop.</p>
<h2>1. Upgrade the system</h2>
<p>The first step is to update the system so that it has the best possible performance and you will be able to show more accurate data when running Gotop.</p>
<p>So, in <a href="https://www.osradar.com/set-up-dhcp-server-debian-9/" rel="noopener">Debian</a>, <a href="https://www.osradar.com/install-apachemq-ubuntu-18-04/" rel="noopener">Ubuntu</a>, and derivates:</p>
<pre class="">:~$ sudo apt update &amp;&amp; sudo apt upgrade</pre>
<figure id="attachment_10490" aria-describedby="caption-attachment-10490" style="width: 991px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10490" src="https://www.osradar.com/wp-content/uploads/2019/02/1-1.png" alt="1.- Upgrade the system" width="991" height="363" srcset="https://www.osradar.com/wp-content/uploads/2019/02/1-1.png 991w, https://www.osradar.com/wp-content/uploads/2019/02/1-1-300x110.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/1-1-768x281.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/1-1-696x255.png 696w" sizes="(max-width: 991px) 100vw, 991px" /><figcaption id="caption-attachment-10490" class="wp-caption-text">1.- Upgrade the system</figcaption></figure>
<p>&nbsp;</p>
<p>For <a href="https://www.osradar.com/how-to-install-zabbix-server-4-on-centos-7/" rel="noopener">CentOS</a> 7 and RHEL:</p>
<pre class="">:~$ sudo yum update</pre>
<p>If you are using <a href="https://osradar.com/tag/fedora/" rel="noopener">Fedora</a> 28, 29:</p>
<pre class="">:~$ sudo dnf update</pre>
<p>Finally, if you are using OpenSUSE, you can update the system with this command:</p>
<pre class="">:~$ sudo zypper up</pre>
<p>Once you have updated the system, you can move on.</p>
<h2>2. Installing and using Gotop</h2>
<p>Now it is time for installation. To do this, first, you have to download the binaries from the <a href="https://github.com/cjbassi/gotop/releases" rel="noopener">download section</a> of the project website.</p>
<p>At the time of writing this post, the latest stable version of Gotop is 2.0 which introduces new features such as the ability to monitor the battery of a laptop.</p>
<p>So, download it.</p>
<pre class="">:~$ wget -c https://github.com/cjbassi/gotop/releases/download/2.0.0/gotop_2.0.0_linux_amd64.tgz</pre>
<figure id="attachment_10491" aria-describedby="caption-attachment-10491" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10491" src="https://www.osradar.com/wp-content/uploads/2019/02/2-1.png" alt="2.- Download Gotop" width="1365" height="504" srcset="https://www.osradar.com/wp-content/uploads/2019/02/2-1.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/2-1-300x111.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/2-1-768x284.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/2-1-1024x378.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/2-1-696x257.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/2-1-1068x394.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/2-1-1138x420.png 1138w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-10491" class="wp-caption-text">2.- Download Gotop</figcaption></figure>
<p>Of course, if you do not have wget installed, you have to do it.</p>
<p>For Debian, Ubuntu, Linux Mint and derivates:</p>
<pre class="">:~$ sudo apt install wget</pre>
<p>In case, you are using CentOS 7 and RHEL:</p>
<pre class="">:~$ yum install wget</pre>
<p>For Fedora 29:</p>
<pre class="">:~$ sudo dnf install wget</pre>
<p>Finally, if you are using OpenSUSE:</p>
<pre class="">:~$ sudo zypper in wget</pre>
<p>However, wget is a main component of the system. It is likely installed by default.</p>
<p>Next, decompress the file.</p>
<pre class="">:~$ tar -xvzf gotop_2.0.0_linux_amd64.tgz</pre>
<figure id="attachment_10492" aria-describedby="caption-attachment-10492" style="width: 826px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10492" src="https://www.osradar.com/wp-content/uploads/2019/02/3-1.png" alt="3.- Decompress the file" width="826" height="141" srcset="https://www.osradar.com/wp-content/uploads/2019/02/3-1.png 826w, https://www.osradar.com/wp-content/uploads/2019/02/3-1-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/3-1-768x131.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/3-1-696x119.png 696w" sizes="(max-width: 826px) 100vw, 826px" /><figcaption id="caption-attachment-10492" class="wp-caption-text">3.- Decompress the file</figcaption></figure>
<p>Now, run it.</p>
<pre class="">:~$ ./gotop</pre>
<figure id="attachment_10494" aria-describedby="caption-attachment-10494" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10494" src="https://www.osradar.com/wp-content/uploads/2019/02/5-1.png" alt="5.- Using Gotop" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/5-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/5-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/5-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/5-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/5-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/5-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/5-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10494" class="wp-caption-text">5.- Using Gotop</figcaption></figure>
<p>To exit, press CTRL + C.</p>
<p>If you want more options, you can show the help.</p>
<pre class="">:~$ ./gotop --help</pre>
<figure id="attachment_10496" aria-describedby="caption-attachment-10496" style="width: 764px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10496" src="https://www.osradar.com/wp-content/uploads/2019/02/6-1.png" alt="6.- Gotop help" width="764" height="368" srcset="https://www.osradar.com/wp-content/uploads/2019/02/6-1.png 764w, https://www.osradar.com/wp-content/uploads/2019/02/6-1-300x145.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/6-1-696x335.png 696w" sizes="(max-width: 764px) 100vw, 764px" /><figcaption id="caption-attachment-10496" class="wp-caption-text">6.- Gotop help</figcaption></figure>
<p>So, you can change the color schemes. For example:</p>
<pre class="">:~$ ./gotop --color=monokai</pre>
<figure id="attachment_10497" aria-describedby="caption-attachment-10497" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10497" src="https://www.osradar.com/wp-content/uploads/2019/02/7-1.png" alt="7.- Gotop with another color scheme" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/7-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/7-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/7-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/7-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/7-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/7-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/7-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10497" class="wp-caption-text">7.- Gotop with another color scheme</figcaption></figure>
<p>Or, enable the averages.</p>
<pre class="">:~$ ./gotop -a</pre>
<figure id="attachment_10498" aria-describedby="caption-attachment-10498" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10498" src="https://www.osradar.com/wp-content/uploads/2019/02/8-1.png" alt="8.- Show the average use of cpu" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/8-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/8-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/8-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/8-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/8-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/8-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/8-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10498" class="wp-caption-text">8.- Show the average use of CPU</figcaption></figure>
<h2>Conclusion</h2>
<p>It is always good to have tools to monitor the state of our system. Now we have another tool that will help us with the task in a simple and friendly.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/using-gotop-a-graphical-system-monitor/">Using Gotop a graphical system monitor</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/using-gotop-a-graphical-system-monitor/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>HTOP: How to install it and use it?</title>
		<link>https://www.osradar.com/htop-how-to-install-it-and-use-it/</link>
					<comments>https://www.osradar.com/htop-how-to-install-it-and-use-it/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Mon, 04 Jun 2018 11:52:15 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[htop]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=3714</guid>

					<description><![CDATA[<p>If you are a Windows user and are not used to the GNU/LINUX terminal, or if you are starting out in the world of Tux, you would be surprised at the many things that can be achieved by running commands from there. Today we introduce you to HTOP, an interactive process viewer for Unix systems. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/htop-how-to-install-it-and-use-it/">HTOP: How to install it and use it?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you are a Windows user and are not used to the GNU/LINUX terminal, or if you are starting out in the world of Tux, you would be surprised at the many things that can be achieved by running commands from there.</p>
<p>Today we introduce you to HTOP, an interactive process viewer for Unix systems. It is a text-mode application (for console or X terminals) and requires ncurses. HTOP is also presented as a natural evolution of TOP (although its developments are totally independent), it has a better organization of information and thanks to its colors, we can easily observe every detail of the processes that are running at that time on our pc.</p>
<h3><strong>Installing HTOP in many  GNU/LINUX distributions</strong></h3>
<p>One of the biggest advantages of HTOP is that it is available through the official repositories for almost all GNU/LINUX distributions: it is only a single command away on the terminal to install it!! Although of course the command is defined by the distribution we are using.</p>
<h5><strong>Install HTOP on Debian, Ubuntu and ubuntu-based</strong></h5>
<p>Debian, Ubuntu and Ubuntu derivatives use apt as package manager, so the command to run with root privileges is as follows:</p>
<pre>apt install htop</pre>
<p>Or if the user has permission to use sudo, it can also be used:</p>
<pre>sudo apt install htop</pre>
<h5><strong>Install HTOP on Fedora<br />
</strong></h5>
<p>Fedora uses the dnf package manager and therefore the command to install HTOP is the following, I remind you that you must have root privileges:</p>
<pre>dnf install htop</pre>
<p>And after downloading, it will be installed.</p>
<h5><strong>Install HTOP on Gentoo</strong></h5>
<p>HTOP is also available from the Gentoo package manager called emerge. With root permissions we can use this command to install it:</p>
<pre>emerge sys-process/htop</pre>
<h5><strong>Install HTOP on CentOS 7</strong></h5>
<p>CentOS 7 a free alternative to Red Hat Linux Enterprise, the process is a little more complicated than previous distributions but it&#8217;s no big deal.</p>
<p>Once logged in as root user, we proceed to download the package containing the EPEL repository:</p>
<pre>wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm</pre>
<figure id="attachment_3716" aria-describedby="caption-attachment-3716" style="width: 900px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3716" src="https://www.osradar.com/wp-content/uploads/2018/06/1.png" alt="downloading epel" width="900" height="416" srcset="https://www.osradar.com/wp-content/uploads/2018/06/1.png 900w, https://www.osradar.com/wp-content/uploads/2018/06/1-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/1-768x355.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/1-696x322.png 696w" sizes="(max-width: 900px) 100vw, 900px" /><figcaption id="caption-attachment-3716" class="wp-caption-text">downloading epel</figcaption></figure>
<p><strong><br />
</strong><br />
Then we must install the downloaded.rpm package that will add the desired repository.</p>
<pre>rpm -Uvh epel-release-latest-7.noarch.rpm</pre>
<figure id="attachment_3717" aria-describedby="caption-attachment-3717" style="width: 900px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3717" src="https://www.osradar.com/wp-content/uploads/2018/06/2-1.png" alt="Installing EPEL" width="900" height="416" srcset="https://www.osradar.com/wp-content/uploads/2018/06/2-1.png 900w, https://www.osradar.com/wp-content/uploads/2018/06/2-1-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/2-1-768x355.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/2-1-696x322.png 696w" sizes="(max-width: 900px) 100vw, 900px" /><figcaption id="caption-attachment-3717" class="wp-caption-text">Installing EPEL</figcaption></figure>
<p>Later we verify that the repository is added correctly.</p>
<pre>yum repolist</pre>
<figure id="attachment_3718" aria-describedby="caption-attachment-3718" style="width: 900px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3718" src="https://www.osradar.com/wp-content/uploads/2018/06/3-1.png" alt="yum repolist" width="900" height="416" srcset="https://www.osradar.com/wp-content/uploads/2018/06/3-1.png 900w, https://www.osradar.com/wp-content/uploads/2018/06/3-1-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/3-1-768x355.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/3-1-696x322.png 696w" sizes="(max-width: 900px) 100vw, 900px" /><figcaption id="caption-attachment-3718" class="wp-caption-text">yum repolist</figcaption></figure>
<p>And if EPEL appears in the repository list, we did it correctly and it would already be added.</p>
<p>Now we proceed to install HTOP with the following command:</p>
<pre>yum install htop</pre>
<figure id="attachment_3719" aria-describedby="caption-attachment-3719" style="width: 900px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3719" src="https://www.osradar.com/wp-content/uploads/2018/06/4-1.png" alt="Installing HTOP CentOS 7" width="900" height="416" srcset="https://www.osradar.com/wp-content/uploads/2018/06/4-1.png 900w, https://www.osradar.com/wp-content/uploads/2018/06/4-1-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/4-1-768x355.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/4-1-696x322.png 696w" sizes="(max-width: 900px) 100vw, 900px" /><figcaption id="caption-attachment-3719" class="wp-caption-text">Installing HTOP CentOS 7</figcaption></figure>
<p>Now we have HTOP installed in our CentOS 7.</p>
<h3>Using HTOP</h3>
<p>HTOP as we saw it can be installed on various GNU/LINUX distributions but is also available for Unix and derivatives. For this article we will use HTOP installed on CentOS7.</p>
<p>The command that executes htop is htop 🙂 this command does not need to be executed as root user. Once the command is written and executed, htop will immediately appear in the open terminal session.</p>
<pre>exit</pre>
<pre>htop</pre>
<figure id="attachment_3720" aria-describedby="caption-attachment-3720" style="width: 900px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3720" src="https://www.osradar.com/wp-content/uploads/2018/06/5-1.png" alt="htop command" width="900" height="416" srcset="https://www.osradar.com/wp-content/uploads/2018/06/5-1.png 900w, https://www.osradar.com/wp-content/uploads/2018/06/5-1-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/5-1-768x355.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/5-1-696x322.png 696w" sizes="(max-width: 900px) 100vw, 900px" /><figcaption id="caption-attachment-3720" class="wp-caption-text">htop command</figcaption></figure>
<figure id="attachment_3721" aria-describedby="caption-attachment-3721" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3721" src="https://www.osradar.com/wp-content/uploads/2018/06/6-2.png" alt="htop" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/6-2.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/6-2-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/6-2-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/6-2-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/6-2-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/6-2-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/6-2-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3721" class="wp-caption-text">htop</figcaption></figure>
<p>This is the screen that is displayed when you run htop. We can notice how it gives us information about CPU or ram memory usage, and the list of all processes running at the moment. However, if we are a little more observant, we will notice that, the HTOP command line interface can be divided into 3 big parts:</p>
<ul>
<li>The first shows CPU usage with percentages, RAM and swap memory. On the right side of the header, displays the active tasks and more.</li>
</ul>
<figure id="attachment_3722" aria-describedby="caption-attachment-3722" style="width: 954px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3722" src="https://www.osradar.com/wp-content/uploads/2018/06/7-1.png" alt="Htop - CPu usage, memory" width="954" height="97" srcset="https://www.osradar.com/wp-content/uploads/2018/06/7-1.png 954w, https://www.osradar.com/wp-content/uploads/2018/06/7-1-300x31.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/7-1-768x78.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/7-1-696x71.png 696w" sizes="(max-width: 954px) 100vw, 954px" /><figcaption id="caption-attachment-3722" class="wp-caption-text">CPu usage, memory</figcaption></figure>
<ul>
<li>The second section or main header shows all the active processes of the system.</li>
</ul>
<figure id="attachment_3723" aria-describedby="caption-attachment-3723" style="width: 1351px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3723" src="https://www.osradar.com/wp-content/uploads/2018/06/8-1.png" alt="HTOP- list of process" width="1351" height="550" srcset="https://www.osradar.com/wp-content/uploads/2018/06/8-1.png 1351w, https://www.osradar.com/wp-content/uploads/2018/06/8-1-300x122.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/8-1-768x313.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/8-1-1024x417.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/8-1-696x283.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/8-1-1068x435.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/8-1-1032x420.png 1032w" sizes="(max-width: 1351px) 100vw, 1351px" /><figcaption id="caption-attachment-3723" class="wp-caption-text">HTOP- list of process</figcaption></figure>
<p>Each column represents an information or detail, in this header is where most of the HTOP possibilities take place. These are the columns with the information they show:</p>
<ul>
<li>PID: Displays the process identifier number.</li>
<li>User: The user tells us that he has activated this process.</li>
<li>PRI: It shows the priority with which the process is executed.</li>
<li>NI: Shows the priority level</li>
<li>VIRT: The number of virtual memory used by the process.</li>
<li>RES: Used ram memory (Megabytes)</li>
<li>SHR: Shared memory used</li>
<li>S: Process status (Running, sleeping or zombie)</li>
<li>CPU%: percentage of CPU used by the process</li>
<li>MEM%: percentage of ram memory used by the process</li>
<li>TIME+: Active life-time of the process</li>
<li>Command: The command that executes the process.</li>
</ul>
<p>As we can see, we have a lot of information available from HTOP.</p>
<p>The last &#8220;section&#8221; is intended for different actions that HTOP allows us to execute, for example, show help, kill processes, search, sort or exit.</p>
<figure id="attachment_3725" aria-describedby="caption-attachment-3725" style="width: 1344px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3725" src="https://www.osradar.com/wp-content/uploads/2018/06/9-1.png" alt="actions of htop" width="1344" height="35" srcset="https://www.osradar.com/wp-content/uploads/2018/06/9-1.png 1344w, https://www.osradar.com/wp-content/uploads/2018/06/9-1-300x8.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/9-1-768x20.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/9-1-1024x27.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/9-1-696x18.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/9-1-1068x28.png 1068w" sizes="(max-width: 1344px) 100vw, 1344px" /><figcaption id="caption-attachment-3725" class="wp-caption-text">actions of htop</figcaption></figure>
<h3>Killing a process with HTOP</h3>
<p>Of these options, we usually use more often that of killing a process. To kill a process we must first use the arrow keys to navigate from top to bottom to position ourselves in the process to be killed, then press the F9 key, and then move with the keyboard to option 9:</p>
<figure id="attachment_3726" aria-describedby="caption-attachment-3726" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3726" src="https://www.osradar.com/wp-content/uploads/2018/06/10-1.png" alt="killing a process" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/10-1.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/10-1-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/10-1-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/10-1-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/10-1-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/10-1-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/10-1-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3726" class="wp-caption-text">Killing a process</figcaption></figure>
<p>And by pressing the F5 key we can switch between the sorted or tree-shaped view:</p>
<figure id="attachment_3727" aria-describedby="caption-attachment-3727" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-3727" src="https://www.osradar.com/wp-content/uploads/2018/06/11-1.png" alt="Tree view HTOP" width="1368" height="702" srcset="https://www.osradar.com/wp-content/uploads/2018/06/11-1.png 1368w, https://www.osradar.com/wp-content/uploads/2018/06/11-1-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/11-1-768x394.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/11-1-1024x525.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/11-1-696x357.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/11-1-1068x548.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/11-1-818x420.png 818w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-3727" class="wp-caption-text">Tree view HTOP</figcaption></figure>
<p>Conclusively, HTOP is a great application executed on the terminal to monitor processes within our Unix-based operating system. Its installation process is quite simple and this is reflected in the large number of GNU/LINUX distributions that have it within their main repositories.</p>
<p>Feel free to share this article on social networks. A lot of people could use it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/htop-how-to-install-it-and-use-it/">HTOP: How to install it and use it?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/htop-how-to-install-it-and-use-it/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
