<?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: faster alternative to du in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/faster-alternative-to-du/m-p/3767062#M260554</link>
    <description>Niraj,&lt;BR /&gt;Thread covering a perl alternative:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=227734" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=227734&lt;/A&gt;&lt;BR /&gt;seems to provide an answer, but as Procura tested, the answer was still slower.</description>
    <pubDate>Thu, 06 Apr 2006 08:00:27 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2006-04-06T08:00:27Z</dc:date>
    <item>
      <title>faster alternative to du</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faster-alternative-to-du/m-p/3767061#M260553</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is there any faster alternative to calculate disk spce on LINUX/HPUX than du?&lt;BR /&gt;&lt;BR /&gt;du  takes long time to calculate 150 GB space ..&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 06 Apr 2006 07:54:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faster-alternative-to-du/m-p/3767061#M260553</guid>
      <dc:creator>Niraj Kumar Verma</dc:creator>
      <dc:date>2006-04-06T07:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: faster alternative to du</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faster-alternative-to-du/m-p/3767062#M260554</link>
      <description>Niraj,&lt;BR /&gt;Thread covering a perl alternative:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=227734" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=227734&lt;/A&gt;&lt;BR /&gt;seems to provide an answer, but as Procura tested, the answer was still slower.</description>
      <pubDate>Thu, 06 Apr 2006 08:00:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faster-alternative-to-du/m-p/3767062#M260554</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-04-06T08:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: faster alternative to du</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faster-alternative-to-du/m-p/3767063#M260555</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am not quite ablet ot use the above link...&lt;BR /&gt;is there any other thread or any other idea ?&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 06 Apr 2006 20:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faster-alternative-to-du/m-p/3767063#M260555</guid>
      <dc:creator>Niraj Kumar Verma</dc:creator>
      <dc:date>2006-04-06T20:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: faster alternative to du</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faster-alternative-to-du/m-p/3767064#M260556</link>
      <description>I often use "bdf" for calculating the disk spaces for hpux and "df" for Linux.  I am not sure if bdf is any faster then du; however, I have a server with three 146GB hard drives and it took less then one sec for "#time du -h" to be issued.&lt;BR /&gt;&lt;BR /&gt;real    0m0.007s&lt;BR /&gt;user    0m0.001s&lt;BR /&gt;sys     0m0.006s&lt;BR /&gt;&lt;BR /&gt;I hope this any help to you.&lt;BR /&gt;&lt;BR /&gt;Sung</description>
      <pubDate>Fri, 07 Apr 2006 00:23:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faster-alternative-to-du/m-p/3767064#M260556</guid>
      <dc:creator>Sung Oh</dc:creator>
      <dc:date>2006-04-07T00:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: faster alternative to du</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faster-alternative-to-du/m-p/3767065#M260557</link>
      <description>Hi,&lt;BR /&gt;sorry you can't access the thread I mentioned earlier.&lt;BR /&gt;&lt;BR /&gt;I have attached the perl code by Stanimir Hadzhinikolov as perl.txt.&lt;BR /&gt;&lt;BR /&gt;Brian Bergstrands code was:&lt;BR /&gt;use File::Find;&lt;BR /&gt;my $base = $ARGV[0] || "./";&lt;BR /&gt;my $total = 0;&lt;BR /&gt;sub addsize {&lt;BR /&gt;$total += -s;&lt;BR /&gt;}&lt;BR /&gt;find(\&amp;amp;addsize, $base);&lt;BR /&gt;print "$total\n";&lt;BR /&gt;&lt;BR /&gt;Procura's code was:&lt;BR /&gt; timex perl -MFile::Find -le'find(sub{$s+=-s},".");print$s'&lt;BR /&gt;&lt;BR /&gt;The normal reason for the slowdown problem with du is not really the size of the filesystem, but the number of files.</description>
      <pubDate>Fri, 07 Apr 2006 01:28:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faster-alternative-to-du/m-p/3767065#M260557</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-04-07T01:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: faster alternative to du</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faster-alternative-to-du/m-p/3767066#M260558</link>
      <description>Hi,&lt;BR /&gt;sorry you can't access the thread I mentioned earlier.&lt;BR /&gt;&lt;BR /&gt;I have attached the perl code by Stanimir Hadzhinikolov as perl.txt.&lt;BR /&gt;&lt;BR /&gt;Brian Bergstrands code was:&lt;BR /&gt;use File::Find;&lt;BR /&gt;my $base = $ARGV[0] || "./";&lt;BR /&gt;my $total = 0;&lt;BR /&gt;sub addsize {&lt;BR /&gt;$total += -s;&lt;BR /&gt;}&lt;BR /&gt;find(\&amp;amp;addsize, $base);&lt;BR /&gt;print "$total\n";&lt;BR /&gt;&lt;BR /&gt;Procura's code was:&lt;BR /&gt; timex perl -MFile::Find -le'find(sub{$s+=-s},".");print$s'&lt;BR /&gt;&lt;BR /&gt;The normal reason for the slowdown problem with du is not really the size of the filesystem, but the number of files.</description>
      <pubDate>Fri, 07 Apr 2006 01:28:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faster-alternative-to-du/m-p/3767066#M260558</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-04-07T01:28:32Z</dc:date>
    </item>
  </channel>
</rss>

