<?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>Ali Aboosaidi &#187; ps</title>
	<atom:link href="http://insanelabs.com/tag/ps/feed/" rel="self" type="application/rss+xml" />
	<link>http://insanelabs.com</link>
	<description>Umm... Unorthodox?</description>
	<lastBuildDate>Tue, 08 Nov 2011 21:04:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Linux: View and manage processes running in the background</title>
		<link>http://insanelabs.com/linux/linux-view-and-manage-processes-running-in-the-background/</link>
		<comments>http://insanelabs.com/linux/linux-view-and-manage-processes-running-in-the-background/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 05:48:19 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ps]]></category>

		<guid isPermaLink="false">http://insanelabs.com/?p=644</guid>
		<description><![CDATA[To view all processes: ps aux Search for a process by name: pgrep &#60;string&#62; &#124; xargs ps To view all processes, line by line (hit enter to view the next process, hit q to exit): ps aux &#124; less To view every process: ps -A or ps -e All processes running by a user: ps [...]
Related posts:<ol>
<li><a href="http://insanelabs.com/linux/linux-release-port-8080-after-stopping-tomcat-port-8080-in-use-by-java/" rel='bookmark' title='Linux: Release port 8080 after stopping Tomcat &#8211; Port 8080 in use by Java' class="liinternal">Linux: Release port 8080 after stopping Tomcat &#8211; Port 8080 in use by Java</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>To view all processes:</p>
<pre>ps aux</pre>
<p>Search for a process by name:</p>
<pre>pgrep &lt;string&gt; | xargs ps</pre>
<p>To view all processes, line by line (hit enter to view the next process, hit q to exit):</p>
<pre>ps aux | less</pre>
<p>To view every process:</p>
<pre>ps -A or ps -e</pre>
<p>All processes running by a user:</p>
<pre>ps -u username</pre>
<p>All processes except the ones running by root:</p>
<pre>ps -U root -u root -N</pre>
<p>To kill a process, either find the process name and type:</p>
<pre>kill -9 processname</pre>
<p>or kill the process ID (PID):</p>
<pre>kill pid</pre>
<p>Stop/suspend a process:</p>
<pre>ctrl-z</pre>
<p>Push a job to run in the background:</p>
<pre>fg pid</pre>
<p>Related posts:<ol>
<li><a href="http://insanelabs.com/linux/linux-release-port-8080-after-stopping-tomcat-port-8080-in-use-by-java/" rel='bookmark' title='Linux: Release port 8080 after stopping Tomcat &#8211; Port 8080 in use by Java' class="liinternal">Linux: Release port 8080 after stopping Tomcat &#8211; Port 8080 in use by Java</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://insanelabs.com/linux/linux-view-and-manage-processes-running-in-the-background/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

