<?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>top command Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/top-command/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 19 Sep 2019 10:50:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to Use top Command in Linux</title>
		<link>https://www.osradar.com/how-to-use-top-command-in-linux/</link>
					<comments>https://www.osradar.com/how-to-use-top-command-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Thu, 19 Sep 2019 10:50:05 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[top command]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13633</guid>

					<description><![CDATA[<p>top (table of process) command allows users to monitor processes, CPU information and memory utilization in Linux. It is pre-installed on all linux distributions. In this article we will learn that how to use top command. Run top command and it will show the following top PID:&#160; &#160; Shows each task unique process id. PR:&#160;&#160;&#160;&#160;&#160; [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-use-top-command-in-linux/">How to Use top Command 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><strong>top</strong> (table of process) command allows users to monitor processes, CPU information and memory utilization in Linux. It is pre-installed on all linux distributions. In this article we will learn that how to use top command.</p>
<p>Run top command and it will show the following</p>
<pre>top</pre>
<p><img loading="lazy" class="alignnone  wp-image-13635" src="https://www.osradar.com/wp-content/uploads/2019/09/1-12-300x160.png" alt="" width="681" height="363" srcset="https://www.osradar.com/wp-content/uploads/2019/09/1-12-300x160.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/1-12-768x410.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/1-12-1024x546.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/1-12-696x371.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/1-12-1068x570.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/1-12-788x420.png 788w, https://www.osradar.com/wp-content/uploads/2019/09/1-12.png 1920w" sizes="(max-width: 681px) 100vw, 681px" /></p>
<p><strong>PID:</strong>&nbsp; &nbsp; Shows each task unique process id.<br />
<strong>PR:&nbsp;</strong>&nbsp;&nbsp;&nbsp;&nbsp; Shows task priority<br />
<strong>SHR:</strong>&nbsp;&nbsp;&nbsp; Represents the amount of shared memory used by a task.<br />
<strong>VIRT:</strong>&nbsp;&nbsp; Total virtual memory.<br />
<strong>USER:</strong>&nbsp; User name or owner of task.<br />
<strong>%CPU:</strong> Represents the CPU usage.<br />
<strong>TIME+:</strong> CPU Time<br />
<strong>SHR:</strong> &nbsp;&nbsp; Display Shared Memory in kb used by a task.<br />
<strong>NI:</strong> &nbsp;&nbsp;&nbsp;&nbsp; Shows a Nice Value of task. A Negative nice value means higher priority, and positive Nice value means lower priority.<br />
<strong>%MEM:</strong> Shows the Memory usage of task.</p>
<p>press &#8220;<strong>q</strong>&#8221; on your keyboard to quite from top.</p>
<h3>
<strong>Highlight Running Process in Top</strong></h3>
<p>When you execute top command press &#8220;<strong>z</strong>&#8221; key to highlight running processes.</p>
<p><img loading="lazy" class="alignnone  wp-image-13636" src="https://www.osradar.com/wp-content/uploads/2019/09/2-10-300x118.png" alt="" width="679" height="267" srcset="https://www.osradar.com/wp-content/uploads/2019/09/2-10-300x118.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/2-10-768x303.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/2-10-1024x404.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/2-10-696x274.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/2-10-1068x421.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/2-10-1065x420.png 1065w, https://www.osradar.com/wp-content/uploads/2019/09/2-10.png 1920w" sizes="(max-width: 679px) 100vw, 679px" /></p>
<h3><strong>Show Path of Processes</strong></h3>
<p>press &#8220;<strong>c</strong>&#8221; after running top command and it will show the path of processes as you can see in image below.</p>
<p><img loading="lazy" class="alignnone  wp-image-13637" src="https://www.osradar.com/wp-content/uploads/2019/09/3-11-300x69.png" alt="" width="674" height="155" srcset="https://www.osradar.com/wp-content/uploads/2019/09/3-11-300x69.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/3-11-768x177.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/3-11-1024x236.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/3-11-696x160.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/3-11-1068x246.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/3-11-1824x420.png 1824w, https://www.osradar.com/wp-content/uploads/2019/09/3-11.png 1920w" sizes="(max-width: 674px) 100vw, 674px" /></p>
<h3><strong>Kill running process</strong></h3>
<p>when you run top command you can see all processes along with their process id (PID)</p>
<p>If you want to kill a process,<br />
simply run &#8220;<strong>top</strong>&#8221; command to find your specific process ID,<br />
press &#8220;<strong>k</strong>&#8221; and then type your PID number<br />
and press &#8220;<strong>enter</strong>&#8221; key to kill it.</p>
<p><img loading="lazy" class="alignnone  wp-image-13638" src="https://www.osradar.com/wp-content/uploads/2019/09/4-11-300x81.png" alt="" width="678" height="183" srcset="https://www.osradar.com/wp-content/uploads/2019/09/4-11-300x81.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/4-11-768x208.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/4-11-1024x277.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/4-11-696x188.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/4-11-1068x289.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/4-11-1554x420.png 1554w, https://www.osradar.com/wp-content/uploads/2019/09/4-11.png 1920w" sizes="(max-width: 678px) 100vw, 678px" /></p>
<h3><strong>Renice a Process</strong></h3>
<p>renice is used to change a process priority,</p>
<p>simply run &#8220;<strong>top</strong>&#8221; command to find your specific process ID, e.g I will renice the priority of PID <strong>27</strong><br />
Press ‘<strong>r</strong>‘ option to change the priority of the process.<br />
Now enter you process ID (Example is in image below)<br />
<img loading="lazy" class="alignnone  wp-image-13639" src="https://www.osradar.com/wp-content/uploads/2019/09/5-10-300x73.png" alt="" width="674" height="164" srcset="https://www.osradar.com/wp-content/uploads/2019/09/5-10-300x73.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/5-10-768x186.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/5-10-1024x248.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/5-10-696x168.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/5-10-1068x258.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/5-10.png 1352w" sizes="(max-width: 674px) 100vw, 674px" /></p>
<p>Then you will see &#8220;Renice PID to value&#8221; enter new priority value,<br />
<img loading="lazy" class="alignnone  wp-image-13640" src="https://www.osradar.com/wp-content/uploads/2019/09/6-12-300x84.png" alt="" width="675" height="189" srcset="https://www.osradar.com/wp-content/uploads/2019/09/6-12-300x84.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/6-12-768x214.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/6-12-1024x285.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/6-12-696x194.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/6-12-1068x298.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/6-12.png 1331w" sizes="(max-width: 675px) 100vw, 675px" /></p>
<p>That&#8217;s it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-use-top-command-in-linux/">How to Use top Command 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-use-top-command-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
