<?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: Check the buffers in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-buffers/m-p/5160452#M456232</link>
    <description>Thanks for all.</description>
    <pubDate>Mon, 02 Mar 2009 14:01:39 GMT</pubDate>
    <dc:creator>syedar</dc:creator>
    <dc:date>2009-03-02T14:01:39Z</dc:date>
    <item>
      <title>Check the buffers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-buffers/m-p/5160447#M456227</link>
      <description>I need to check the files in sub sub folders older then 1 day and file prefix start with "*.dat" only, if present then display number of files along with folder name by find command.&lt;BR /&gt;&lt;BR /&gt;Folder structure is:&lt;BR /&gt;/A/A1/A11..A20/&lt;BR /&gt;/A/A2/A21..A30/&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Mar 2009 12:28:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-buffers/m-p/5160447#M456227</guid>
      <dc:creator>syedar</dc:creator>
      <dc:date>2009-03-02T12:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Check the buffers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-buffers/m-p/5160448#M456228</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;A find command with the +mtime or +ctim parameter should do the trick.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 02 Mar 2009 12:43:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-buffers/m-p/5160448#M456228</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-03-02T12:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Check the buffers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-buffers/m-p/5160449#M456229</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# find /A -depth -mtime +1 -name \*.dat</description>
      <pubDate>Mon, 02 Mar 2009 12:59:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-buffers/m-p/5160449#M456229</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-03-02T12:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Check the buffers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-buffers/m-p/5160450#M456230</link>
      <description>Hi Syedar,&lt;BR /&gt;&lt;BR /&gt;If you want to search in multiple folers and list the number of files with folder name write a small script like this.&lt;BR /&gt;&lt;BR /&gt;Example, want to list number of files along with folder name which is older than 1 day in following folders.&lt;BR /&gt;/A/A1/A11, /A/A1/A12, /A/A1/A13, /A/A1/A14, /A/A1/A15 .... /A/A1/A20&lt;BR /&gt;&lt;BR /&gt;cd /A/A1&lt;BR /&gt;for i in A11 A12 A13 A14 A15 ... A20&lt;BR /&gt;do&lt;BR /&gt;echo "$i `find $i -mtime +1 -name "*.dat"|wc-l`"&lt;BR /&gt;done&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Mar 2009 13:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-buffers/m-p/5160450#M456230</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-03-02T13:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Check the buffers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-buffers/m-p/5160451#M456231</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;the first find looks for directories which contains files older then 1 day (-mtime +1). "sort -u" makes sure, that you get the directory only one time.&lt;BR /&gt;&lt;BR /&gt;the second find will count the files&lt;BR /&gt;&lt;BR /&gt;for dir in `find . -name "*.dat" -type f -mtime +1 -exec dirname {} \;| sort -u`&lt;BR /&gt;do &lt;BR /&gt;  echo "$dir \c"; &lt;BR /&gt;  find $dir -name "*.dat" -type f -mtime +1 | wc -l&lt;BR /&gt;done</description>
      <pubDate>Mon, 02 Mar 2009 13:25:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-buffers/m-p/5160451#M456231</guid>
      <dc:creator>Matthias Zander</dc:creator>
      <dc:date>2009-03-02T13:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Check the buffers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-buffers/m-p/5160452#M456232</link>
      <description>Thanks for all.</description>
      <pubDate>Mon, 02 Mar 2009 14:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-buffers/m-p/5160452#M456232</guid>
      <dc:creator>syedar</dc:creator>
      <dc:date>2009-03-02T14:01:39Z</dc:date>
    </item>
  </channel>
</rss>

