﻿<?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>[d]bykadorov &#187; awk</title>
	<atom:link href="http://hudson.su/tag/awk/feed/" rel="self" type="application/rss+xml" />
	<link>http://hudson.su</link>
	<description>Профессиональный дилетант: блог о разработке программного обеспечения, web-программировании, контроле качества и тестировании</description>
	<lastBuildDate>Mon, 06 Sep 2010 15:27:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Скрипт просмотра объема памяти, потребляемого процессами в linux</title>
		<link>http://hudson.su/2010/01/22/script-memory-usage-in-linux/</link>
		<comments>http://hudson.su/2010/01/22/script-memory-usage-in-linux/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 15:54:05 +0000</pubDate>
		<dc:creator>hudson</dc:creator>
				<category><![CDATA[Профессиональное]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://hudson.su/?p=771</guid>
		<description><![CDATA[Часто возникает необходимость посмотреть суммарное потребление памяти группой однотипных процессов (кумулятивно). top и ps без обработки не сильно помогает, поэтому сегодня написал следующий скрипт: Собственно скрипт #!/bin/bash ps -eo pid,comm,user,%mem &#124; awk ' \ { \ memory[$2]+=$4; \ } \ END \ { \ print( &#34;--== Cumulative memory usage TOP: ==--&#34; ); \ print( &#34;--------------------------------------&#34; [...]]]></description>
		<wfw:commentRss>http://hudson.su/2010/01/22/script-memory-usage-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
