<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.cpwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.cpwiki.net/index.php?action=history&amp;feed=atom&amp;title=MLM_logcheck_script</id>
		<title>MLM logcheck script - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.cpwiki.net/index.php?action=history&amp;feed=atom&amp;title=MLM_logcheck_script"/>
		<link rel="alternate" type="text/html" href="http://www.cpwiki.net/index.php?title=MLM_logcheck_script&amp;action=history"/>
		<updated>2026-04-29T10:12:22Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.10</generator>

	<entry>
		<id>http://www.cpwiki.net/index.php?title=MLM_logcheck_script&amp;diff=43&amp;oldid=prev</id>
		<title>Nighthawk: Created page with &quot;This is a simple logcheck script to identify logs older that 20 days.  The output can be piped to a script for compression.   #!/bin/sh  #  source $CPDIR/tmp/.CPprofile.sh  RE...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.cpwiki.net/index.php?title=MLM_logcheck_script&amp;diff=43&amp;oldid=prev"/>
				<updated>2013-03-27T22:13:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;This is a simple logcheck script to identify logs older that 20 days.  The output can be piped to a script for compression.   #!/bin/sh  #  source $CPDIR/tmp/.CPprofile.sh  RE...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is a simple logcheck script to identify logs older that 20 days.  The output can be piped to a script for compression.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #&lt;br /&gt;
 source $CPDIR/tmp/.CPprofile.sh&lt;br /&gt;
 RETENTION=20&lt;br /&gt;
 CPSUITE_DIR=`echo $MDS_TEMPLATE | awk -F &amp;quot;/&amp;quot; '{print $3}'`&lt;br /&gt;
 #&lt;br /&gt;
 mdsenv&lt;br /&gt;
 mcd customers&lt;br /&gt;
 for CLM in *&lt;br /&gt;
 do&lt;br /&gt;
   find $CLM/$CPSUITE_DIR/fw1/log/*.log -mtime +$RETENTION | grep -v fwui.log &lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
[[category:logs]]&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>