<?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>process Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/process/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 18 Sep 2019 19:50:26 +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>how to kill process in Linux</title>
		<link>https://www.osradar.com/how-to-kill-process-in-linux/</link>
					<comments>https://www.osradar.com/how-to-kill-process-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Wed, 18 Sep 2019 19:50:20 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bignner]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[kalilinux]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[thel]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13596</guid>

					<description><![CDATA[<p>A process is the instance of a computer program that is being executed by one or many threads. It contains the program code and its activity. Several processes may be associated with the same program; for example, opening up several instances of the same program often results in more than one process being executed. kill [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-kill-process-in-linux/">how to kill process in Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>A process is the instance of a computer program that is being executed by one or many threads. It contains the program code and its activity. Several processes may be associated with the same program; for example, opening up several instances of the same program often results in more than one process being executed.</p>
<p>kill is a command which is used in several popular operating systems to send signals to running processes. In Linux kill command is normally used to terminate running process. In this article we will cover basics of kill command so you will understand it and apply it in your environment.</p>
<p>Before killing or terminating any process we have to get its process ID (PID) or process name. We can use wo commands to find process ID&#8217;s, first is &#8220;ps&#8221; command and the second it &#8220;top&#8221; command. In this article we will use ps command to find a process ID and its name.</p>
<h3><strong>Locate process using ps command</strong></h3>
<p>ps command is used to see processes, following command to list all running processes.</p>
<pre>ps aux</pre>
<p>a: Show processes for all users<br />
u: Display the user who is using the process<br />
x: Show all processes. (it also show the processes running in a GUI environment)</p>
<p><img loading="lazy" class="alignnone wp-image-13598" src="https://www.osradar.com/wp-content/uploads/2019/09/1-8-300x160.png" alt="kill process in Linux" width="662" height="353" srcset="https://www.osradar.com/wp-content/uploads/2019/09/1-8-300x160.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/1-8-768x409.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/1-8-1024x546.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/1-8-696x371.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/1-8-1068x569.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/1-8-788x420.png 788w, https://www.osradar.com/wp-content/uploads/2019/09/1-8.png 1920w" sizes="(max-width: 662px) 100vw, 662px" /></p>
<h3><strong>List specific process ID</strong></h3>
<p>If you want to search any specific process so you can use any of following three methods.</p>
<p><strong>Method 1:</strong></p>
<pre>ps -aux | grep process-name</pre>
<p>e.g check for Apache process</p>
<pre>ps -aux | grep httpd</pre>
<p><img loading="lazy" class="alignnone wp-image-13599" src="https://www.osradar.com/wp-content/uploads/2019/09/2-7-300x48.png" alt="kill process in Linux" width="675" height="108" srcset="https://www.osradar.com/wp-content/uploads/2019/09/2-7-300x48.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/2-7-768x124.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/2-7-1024x165.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/2-7-696x112.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/2-7-1068x172.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/2-7.png 1920w" sizes="(max-width: 675px) 100vw, 675px" /></p>
<p>You can see process id&#8217;s of Apache in above image.</p>
<h3><strong>Method 2:</strong> <strong>Use pidof command</strong></h3>
<pre>pidof httpd</pre>
<p>Sample outputs:</p>
<pre>4372 4371 4370 4369 4368 4361</pre>
<p><img loading="lazy" class="alignnone wp-image-13600" src="https://www.osradar.com/wp-content/uploads/2019/09/3-8-300x49.png" alt="kill process in Linux" width="673" height="110" srcset="https://www.osradar.com/wp-content/uploads/2019/09/3-8-300x49.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/3-8-768x127.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/3-8-1024x169.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/3-8-696x115.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/3-8.png 1037w" sizes="(max-width: 673px) 100vw, 673px" /></p>
<h3><strong>Method 3: Use pgrep command</strong></h3>
<pre>pgrep httpd</pre>
<p><img loading="lazy" class="alignnone wp-image-13601" src="https://www.osradar.com/wp-content/uploads/2019/09/4-8-300x67.png" alt="kill process in Linux" width="663" height="148" srcset="https://www.osradar.com/wp-content/uploads/2019/09/4-8-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/4-8-768x171.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/4-8-1024x228.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/4-8-696x155.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/4-8-1068x237.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/4-8.png 1210w" sizes="(max-width: 663px) 100vw, 663px" /></p>
<p>All above methods will show process ID&#8217;s of httpd (Apache) process.</p>
<h3><strong>Kill Process</strong></h3>
<p>kill command is use to terminate or kill running processes.</p>
<h3><strong>Method 1: Kill process by its process ID</strong></h3>
<p>Now, I will kill one Apache process using its process ID.</p>
<pre>kill -9 4372</pre>
<p>Then, verify that PID is killed</p>
<pre>pidof httpd</pre>
<p><img loading="lazy" class="alignnone wp-image-13602" src="https://www.osradar.com/wp-content/uploads/2019/09/5-7-300x44.png" alt="kill process in Linux" width="668" height="98" srcset="https://www.osradar.com/wp-content/uploads/2019/09/5-7-300x44.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/5-7-768x113.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/5-7-1024x151.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/5-7-696x102.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/5-7-1068x157.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/5-7.png 1114w" sizes="(max-width: 668px) 100vw, 668px" /></p>
<p>So you can see in above image that process 4372 is no more exist.</p>
<h3><strong>Method 2: Kill process by its name</strong></h3>
<p>If you want to kill all the processes of a service you can use this method.</p>
<pre>kill -9 httpd</pre>
<p>OR</p>
<pre>pkill httpd</pre>
<p>Now, verify process is killed.</p>
<pre>pidof httpd</pre>
<p>Then, you will see that all processes of httpd will no more exist.</p>
<h3><strong>Kill all processes of a User</strong></h3>
<p>You can use below command to show processes of a user.</p>
<pre>ps -fu user-name</pre>
<p>Now you will get process ID&#8217;s of that user. E.g I show process ID&#8217;s of user &#8220;<strong>osradar</strong>&#8221; in below image</p>
<p><img loading="lazy" class="alignnone wp-image-13647" src="https://www.osradar.com/wp-content/uploads/2019/09/6-13-300x51.png" alt="kill process in Linux" width="682" height="116" srcset="https://www.osradar.com/wp-content/uploads/2019/09/6-13-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/6-13-768x131.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/6-13-1024x175.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/6-13-696x119.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/6-13-1068x182.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/6-13.png 1343w" sizes="(max-width: 682px) 100vw, 682px" /></p>
<p>Then, run below command to kill all processes of the user</p>
<pre>kill -HUP process-ids</pre>
<p><img loading="lazy" class="alignnone wp-image-13648" src="https://www.osradar.com/wp-content/uploads/2019/09/7-12-300x57.png" alt="kill user in Linux" width="684" height="130" srcset="https://www.osradar.com/wp-content/uploads/2019/09/7-12-300x57.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/7-12-768x146.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/7-12-696x132.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/7-12.png 809w" sizes="(max-width: 684px) 100vw, 684px" /></p>
<p>So, when you run again below command you will see no result.</p>
<pre>ps -fu user-name</pre>
<p>That&#8217;s it, You now know that how to kill running processes in Linux.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-kill-process-in-linux/">how to kill process in Linux</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/how-to-kill-process-in-linux/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>
