<?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: Finding files larger than 200 MB in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436471#M5280</link>
    <description>If the reason management is looking for large files is to address disk space issues, perhaps it is a better idea to find the biggest directories first. After all, a runaway script or program could create a directory with 50,000 files, all just 10 Kbytes in size (no big files). Yet the directory takes up 500 megs of space.&lt;BR /&gt;&lt;BR /&gt;The secret is du, or more specifically, du -kx /starting_point.  Since this will just traverse the directories in no particular order, use sort to arrange the sizes as in:&lt;BR /&gt;&lt;BR /&gt;du -kx /start_point | sort -rn&lt;BR /&gt;&lt;BR /&gt;You may want to pipe the output into a file or email message. Run this command on each mountpoint.</description>
    <pubDate>Mon, 14 Aug 2000 19:24:16 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2000-08-14T19:24:16Z</dc:date>
    <item>
      <title>Finding files larger than 200 MB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436466#M5275</link>
      <description>Does anyone know how I might go about finding all files in a directory larger than a specified size.  We're doing an audit on our production directories and some management want a report listing all files larger than 200 MB and what their size is.  Being a new Unix Admin, I just don't know how I might go about this task in the most efficient way.</description>
      <pubDate>Mon, 14 Aug 2000 19:13:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436466#M5275</guid>
      <dc:creator>Garrin Thompson</dc:creator>
      <dc:date>2000-08-14T19:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files larger than 200 MB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436467#M5276</link>
      <description>Try the following:&lt;BR /&gt;&lt;BR /&gt;# find / -size +200000000c -print&lt;BR /&gt;to list the file paths or:&lt;BR /&gt;&lt;BR /&gt;# find / -size +200000000c -exec ls -l {} \;&lt;BR /&gt;&lt;BR /&gt;cheers</description>
      <pubDate>Mon, 14 Aug 2000 19:14:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436467#M5276</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-08-14T19:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files larger than 200 MB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436468#M5277</link>
      <description>Yes you can do a find...&lt;BR /&gt;find / -size +100000 -print&lt;BR /&gt;&lt;BR /&gt;Note that the above looks for block size (so 2000 blk*512 byte=1mb) the above if I did the math right would be for 50mb; but you may want to check..&lt;BR /&gt;If you want to key by mb than:&lt;BR /&gt;&lt;BR /&gt;find /file_sys -size +50000000c -print&lt;BR /&gt; &lt;BR /&gt;For auditing purposes you could send the output to a file by changing -print to &amp;gt;output.file&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Mon, 14 Aug 2000 19:18:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436468#M5277</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2000-08-14T19:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files larger than 200 MB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436469#M5278</link>
      <description>Man...&lt;BR /&gt;&lt;BR /&gt;You all are quick and awesome!  Thanks for the help.  Keep all the new fresh ideas coming, too, because it makes for some quick and easy HP-UX Admin training for me.&lt;BR /&gt;&lt;BR /&gt;My Hat's off to ya'll!</description>
      <pubDate>Mon, 14 Aug 2000 19:20:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436469#M5278</guid>
      <dc:creator>Garrin Thompson</dc:creator>
      <dc:date>2000-08-14T19:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files larger than 200 MB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436470#M5279</link>
      <description>You can use the command:&lt;BR /&gt;&lt;BR /&gt;find $DIR -xdev -size +$VARc -exec ll -lt {} ;&lt;BR /&gt;&lt;BR /&gt;where:&lt;BR /&gt;$DIR is the directory to start search&lt;BR /&gt;$VAR is the size to declare.&lt;BR /&gt;&lt;BR /&gt;Tony</description>
      <pubDate>Mon, 14 Aug 2000 19:22:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436470#M5279</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2000-08-14T19:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files larger than 200 MB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436471#M5280</link>
      <description>If the reason management is looking for large files is to address disk space issues, perhaps it is a better idea to find the biggest directories first. After all, a runaway script or program could create a directory with 50,000 files, all just 10 Kbytes in size (no big files). Yet the directory takes up 500 megs of space.&lt;BR /&gt;&lt;BR /&gt;The secret is du, or more specifically, du -kx /starting_point.  Since this will just traverse the directories in no particular order, use sort to arrange the sizes as in:&lt;BR /&gt;&lt;BR /&gt;du -kx /start_point | sort -rn&lt;BR /&gt;&lt;BR /&gt;You may want to pipe the output into a file or email message. Run this command on each mountpoint.</description>
      <pubDate>Mon, 14 Aug 2000 19:24:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436471#M5280</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2000-08-14T19:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files larger than 200 MB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436472#M5281</link>
      <description>With HP-UX ver 11, you can use SAM. Run Sam, Routine Tasks, Selective File Removal.</description>
      <pubDate>Mon, 14 Aug 2000 19:26:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436472#M5281</guid>
      <dc:creator>Jennifer Chiarelli</dc:creator>
      <dc:date>2000-08-14T19:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Finding files larger than 200 MB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436473#M5282</link>
      <description>Don't forget that 200Mb is actually 209715200 bytes or 409600 512 byte blocks.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Mon, 14 Aug 2000 19:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files-larger-than-200-mb/m-p/2436473#M5282</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-08-14T19:27:47Z</dc:date>
    </item>
  </channel>
</rss>

