<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: How to Display Linux VPS Memory Usage</title>
	<atom:link href="http://ubuntulinuxhelp.com/how-to-display-linux-vps-memory-usage/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntulinuxhelp.com/how-to-display-linux-vps-memory-usage/</link>
	<description>Resources, help, how to's and tutorials for Ubuntu Linux users!</description>
	<lastBuildDate>Thu, 11 Mar 2010 20:52:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jason</title>
		<link>http://ubuntulinuxhelp.com/how-to-display-linux-vps-memory-usage/comment-page-1/#comment-1699</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Sun, 24 Aug 2008 09:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntulinuxhelp.com/how-to-display-linux-vps-memory-usage/#comment-1699</guid>
		<description>try this:

&lt;code&gt;NUM=0 &amp;&amp; for num in $( ps axo %mem &#124; grep -v &quot;%MEM&quot; &#124; grep -v &quot;0.0&quot; &#124; sed &#039;s/\.//&#039; &#124; sed &#039;s/0//&#039; ) ; do NUM=$[ $num + $NUM ];done; free=$(free -m&#124; grep &quot;Mem:&quot; &#124; awk &#039;{fs=&quot; &quot;; print $2}&#039;) ;usedmem=$[ $free * $NUM / 1000 ];echo -e &quot;\nSystem Memory Report:\nTotal on Server: $free&quot;MB&quot; - Used: $usedmem&quot;MB&quot;\n&quot;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>try this:</p>
<p><code>NUM=0 &amp;&amp; for num in $( ps axo %mem | grep -v "%MEM" | grep -v "0.0" | sed 's/\.//' | sed 's/0//' ) ; do NUM=$[ $num + $NUM ];done; free=$(free -m| grep "Mem:" | awk '{fs=" "; print $2}') ;usedmem=$[ $free * $NUM / 1000 ];echo -e "\nSystem Memory Report:\nTotal on Server: $free"MB" - Used: $usedmem"MB"\n"</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
