<?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; command</title>
	<atom:link href="http://articles.itecsoftware.com/tag/command/feed" rel="self" type="application/rss+xml" />
	<link>http://articles.itecsoftware.com</link>
	<description>Itec Software</description>
	<lastBuildDate>Mon, 06 Sep 2010 18:29:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to find memory usage by process?</title>
		<link>http://articles.itecsoftware.com/linux/how-to-find-memory-usage-by-process</link>
		<comments>http://articles.itecsoftware.com/linux/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 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, first page and &#8230;  nada. Keep in mind, I did not want some fancy utility, [...]]]></description>
			<content:encoded><![CDATA[<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>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://articles.itecsoftware.com/linux/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/

Minified using disk
Page Caching using disk (enhanced)

Served from: articles.itecsoftware.com @ 2010-09-07 21:13:59 -->