<?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/"
		>
<channel>
	<title>Comments on: Oracle Log and Trace File Cleanup</title>
	<atom:link href="http://www.richtechnologies.com/?feed=rss2&#038;p=28" rel="self" type="application/rss+xml" />
	<link>http://www.richtechnologies.com/?p=28</link>
	<description>The Technical Weblog of Shad Rich</description>
	<lastBuildDate>Tue, 22 Jan 2013 14:11:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Mariela</title>
		<link>http://www.richtechnologies.com/?p=28&#038;cpage=1#comment-202</link>
		<dc:creator>Mariela</dc:creator>
		<pubDate>Tue, 22 Jan 2013 14:11:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.richtechnologies.com/?p=28#comment-202</guid>
		<description><![CDATA[Shad, do yo still have cleanhouse.sh version for an installation with different oracle users?  Can you upload it?  Thanks!!]]></description>
		<content:encoded><![CDATA[<p>Shad, do yo still have cleanhouse.sh version for an installation with different oracle users?  Can you upload it?  Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Wendel</title>
		<link>http://www.richtechnologies.com/?p=28&#038;cpage=1#comment-201</link>
		<dc:creator>Ryan Wendel</dc:creator>
		<pubDate>Thu, 10 Jan 2013 16:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.richtechnologies.com/?p=28#comment-201</guid>
		<description><![CDATA[This is badass. Thank you very much for putting it together. I ran through the code making sure everything was up to my standards and was surprised to see it meet and surpass them. WELL DONE!!!!]]></description>
		<content:encoded><![CDATA[<p>This is badass. Thank you very much for putting it together. I ran through the code making sure everything was up to my standards and was surprised to see it meet and surpass them. WELL DONE!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sathya</title>
		<link>http://www.richtechnologies.com/?p=28&#038;cpage=1#comment-200</link>
		<dc:creator>sathya</dc:creator>
		<pubDate>Tue, 06 Nov 2012 13:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.richtechnologies.com/?p=28#comment-200</guid>
		<description><![CDATA[Hi,

First, thanks a lot for this little gem. It works like a charm!

However, there is a small nitpick with the way you are grepping the oracle sid from the pmon process. 

# Get the list of running databases.
SIDS=`ps -e -o args &#124; grep pmon &#124; grep -v grep &#124; awk -F_ &#039;{print $3}&#039; &#124; sort`

If there is a underscore part of the oracle sid as below;

$  ps -e -o args &#124; grep pmon &#124; grep -v grep
ora_pmon_emrep_dr

Then your script will pick only the part of the oracle sid not the full one, which will eventually invalidate all the subsequent steps for that database.

$ ps -e -o args &#124; grep pmon &#124; grep -v grep &#124; awk -F_ &#039;{print $3}&#039; &#124; sort
emrep

So, i replace that line with the below one, which will get the full SID;

$ ps -e -o args &#124; grep pmon &#124; grep -v grep &#124; cut -c 10- &#124; sort
emrep_dr


Thanks,
sathya]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>First, thanks a lot for this little gem. It works like a charm!</p>
<p>However, there is a small nitpick with the way you are grepping the oracle sid from the pmon process. </p>
<p># Get the list of running databases.<br />
SIDS=`ps -e -o args | grep pmon | grep -v grep | awk -F_ &#8216;{print $3}&#8217; | sort`</p>
<p>If there is a underscore part of the oracle sid as below;</p>
<p>$  ps -e -o args | grep pmon | grep -v grep<br />
ora_pmon_emrep_dr</p>
<p>Then your script will pick only the part of the oracle sid not the full one, which will eventually invalidate all the subsequent steps for that database.</p>
<p>$ ps -e -o args | grep pmon | grep -v grep | awk -F_ &#8216;{print $3}&#8217; | sort<br />
emrep</p>
<p>So, i replace that line with the below one, which will get the full SID;</p>
<p>$ ps -e -o args | grep pmon | grep -v grep | cut -c 10- | sort<br />
emrep_dr</p>
<p>Thanks,<br />
sathya</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roland</title>
		<link>http://www.richtechnologies.com/?p=28&#038;cpage=1#comment-188</link>
		<dc:creator>Roland</dc:creator>
		<pubDate>Thu, 31 May 2012 11:07:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.richtechnologies.com/?p=28#comment-188</guid>
		<description><![CDATA[Hi,
Any chance to update this script to clean the diag destination of oracle 11 DBs ? Currently the script only cleans the logs of V11-listeners ... :-(]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
Any chance to update this script to clean the diag destination of oracle 11 DBs ? Currently the script only cleans the logs of V11-listeners &#8230; <img src='http://www.richtechnologies.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gavin</title>
		<link>http://www.richtechnologies.com/?p=28&#038;cpage=1#comment-186</link>
		<dc:creator>Gavin</dc:creator>
		<pubDate>Thu, 06 Oct 2011 02:35:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.richtechnologies.com/?p=28#comment-186</guid>
		<description><![CDATA[Thanks, you made my day. Great to have you blokes around that share your knowledge and expertise with others]]></description>
		<content:encoded><![CDATA[<p>Thanks, you made my day. Great to have you blokes around that share your knowledge and expertise with others</p>
]]></content:encoded>
	</item>
</channel>
</rss>
