<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: help in shell scripting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-in-shell-scripting/m-p/4631650#M378529</link>
    <description>Hi JRF,&lt;BR /&gt;&lt;BR /&gt;I am sorry to delay the response. I was busy with otherwork. Really the URL is so worthfull. Thanks to all for suggesting me to right approach.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Dev</description>
    <pubDate>Fri, 14 May 2010 03:21:47 GMT</pubDate>
    <dc:creator>DKC</dc:creator>
    <dc:date>2010-05-14T03:21:47Z</dc:date>
    <item>
      <title>help in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-in-shell-scripting/m-p/4631646#M378525</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can any one help me for creating the shell scripting in which i run the cron job and hold only those file system in which 70% full.&lt;BR /&gt;&lt;BR /&gt;Appreciate the prompt support.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dev</description>
      <pubDate>Tue, 11 May 2010 12:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-in-shell-scripting/m-p/4631646#M378525</guid>
      <dc:creator>DKC</dc:creator>
      <dc:date>2010-05-11T12:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: help in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-in-shell-scripting/m-p/4631647#M378526</link>
      <description>Hi Dev:&lt;BR /&gt;&lt;BR /&gt;A search of this forum will unearth many threads of this kind, including:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1178106" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1178106&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 11 May 2010 12:17:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-in-shell-scripting/m-p/4631647#M378526</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-05-11T12:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: help in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-in-shell-scripting/m-p/4631648#M378527</link>
      <description>&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;U can use this script in cron which will update u the Filesystem size with the date. &lt;BR /&gt;&lt;BR /&gt;#/bin/sh&lt;BR /&gt;#&lt;BR /&gt;echo " " &amp;gt;&amp;gt; /tmp/script/filesystem.log&lt;BR /&gt;echo " " &amp;gt;&amp;gt; /tmp/script/filesystem.log&lt;BR /&gt;date  &amp;gt;&amp;gt; /tmp/script/filesystem.log&lt;BR /&gt;echo "================================="  &amp;gt;&amp;gt; /tmp/script/filesystem.log&lt;BR /&gt;bdf | awk '{if($5 &amp;gt; 70)print $5, "    ", $6}' &amp;gt;&amp;gt; /tmp/script/filesystem.log&lt;BR /&gt;&lt;BR /&gt;Hope this should solve your problem&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ishwar</description>
      <pubDate>Tue, 11 May 2010 20:11:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-in-shell-scripting/m-p/4631648#M378527</guid>
      <dc:creator>Ishwar_1</dc:creator>
      <dc:date>2010-05-11T20:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: help in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-in-shell-scripting/m-p/4631649#M378528</link>
      <description>My suggestion:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;USED=$(df -k $file_system | head -3 | tail -1 | awk '{print $1}')&lt;BR /&gt;TOTAL=$(df -k $file_system | head -1 | awk -F: '{print $2}' |awk '{print $1}')&lt;BR /&gt;if [[ $(($USED*100/$TOTAL)) -gt 70 ]]&lt;BR /&gt;then&lt;BR /&gt;   hold&lt;BR /&gt;fin</description>
      <pubDate>Tue, 11 May 2010 20:40:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-in-shell-scripting/m-p/4631649#M378528</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2010-05-11T20:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: help in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-in-shell-scripting/m-p/4631650#M378529</link>
      <description>Hi JRF,&lt;BR /&gt;&lt;BR /&gt;I am sorry to delay the response. I was busy with otherwork. Really the URL is so worthfull. Thanks to all for suggesting me to right approach.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Dev</description>
      <pubDate>Fri, 14 May 2010 03:21:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-in-shell-scripting/m-p/4631650#M378529</guid>
      <dc:creator>DKC</dc:creator>
      <dc:date>2010-05-14T03:21:47Z</dc:date>
    </item>
  </channel>
</rss>

