<?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>Linux, Open Source and Web 2.0 &#187; process</title>
	<atom:link href="http://www.itecsoftware.com/tag/process/feed" rel="self" type="application/rss+xml" />
	<link>http://www.itecsoftware.com</link>
	<description>Itec Software</description>
	<lastBuildDate>Wed, 16 Nov 2011 02:18:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to find memory usage by process?</title>
		<link>http://www.itecsoftware.com/how-to-find-memory-usage-by-process?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-find-memory-usage-by-process</link>
		<comments>http://www.itecsoftware.com/how-to-find-memory-usage-by-process#comments</comments>
		<pubDate>Sat, 28 Mar 2009 01:29:46 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[usage]]></category>

		<guid isPermaLink="false">http://articles.itecsoftware.com/?p=71</guid>
		<description><![CDATA[<a href="http://www.itecsoftware.com/how-to-find-memory-usage-by-process" title="How to find memory usage by process?"></a>A simple task one thinks, right? Well, just recently I needed to find the memory usage for a process and full of confidence, opening a console and start typing ps -&#8230;&#8230;. Damn, what was it again. Let&#8217;s google it. Hmm, &#8230;<p class="read-more"><a href="http://www.itecsoftware.com/how-to-find-memory-usage-by-process">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.itecsoftware.com/how-to-find-memory-usage-by-process" title="How to find memory usage by process?"></a><!-- google_ad_section_start --><p>A simple task one thinks, right?</p>
<p>Well, just recently I needed to find the memory usage for a process and full of confidence, opening a console and start typing ps -&#8230;&#8230;. Damn, what was it again. Let&#8217;s google it. Hmm, first page and &#8230;  nada.</p>
<p>Keep in mind, I did not want some fancy utility, just a simple command at the terminal, that&#8217;s it. To spare you the time digging thru the man pages, here it is. You basically have to construct your own list of parameters with the &#8220;-o&#8221; switch.</p>
<p><span id="more-71"></span>For example, let&#8217;s find out how much memory our apache web server uses:</p>
<p>ps -Ao comm -o %mem</p>
<p>ps -A lists all processes, -o omits all formatting and only shows the value that follows. In our case, one for the Command name and one for the memory utilization. You can add whatever info you like and shed light into the inner workings of your server/workstation.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.itecsoftware.com/how-to-find-memory-usage-by-process/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 3/7 queries in 0.002 seconds using memcached
Object Caching 397/397 objects using memcached

Served from: www.itecsoftware.com @ 2012-02-08 18:35:29 -->
