<?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: Disk Space Used in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826907#M778554</link>
    <description>Untested...&lt;BR /&gt;&lt;BR /&gt;# du -ks /export/home/* | awk '{mb=$1/1024; total += mb; if (mb&amp;gt;250) {printf "%8.2f %s\n",mb,$2}} END {'printf "%8.2f total",total}'&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 19 Jul 2006 23:45:39 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2006-07-19T23:45:39Z</dc:date>
    <item>
      <title>Disk Space Used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826900#M778547</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this is my home directory... /export/home/emp1001&lt;BR /&gt;&lt;BR /&gt;like wise many employees will have their own &lt;BR /&gt;home dirs. how to get following report. it needs to consolidate at the home dir level.&lt;BR /&gt;&lt;BR /&gt;/export/home/emp1001      201MB&lt;BR /&gt;/export/home/emp1002      25MB&lt;BR /&gt;/export/home/emp1003      600MB&lt;BR /&gt;/export/home/emp1004      100KB&lt;BR /&gt;&lt;BR /&gt;Also if i want to see only those used more than 250MB space.&lt;BR /&gt;&lt;BR /&gt;should return&lt;BR /&gt;/export/home/emp1003      600MB&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2006 17:00:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826900#M778547</guid>
      <dc:creator>intp</dc:creator>
      <dc:date>2006-07-19T17:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Space Used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826901#M778548</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# du -xk /export/home | sort -k2&lt;BR /&gt;&lt;BR /&gt;...summarizes in 1k blocks&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 19 Jul 2006 17:08:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826901#M778548</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-07-19T17:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Space Used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826902#M778549</link>
      <description>Tried...&lt;BR /&gt;&lt;BR /&gt;/export/home&amp;gt;du -xk /export/home | sort -k2&lt;BR /&gt;du: illegal option -- x&lt;BR /&gt;usage: du [-a][-d][-k][-r][-o|-s][-L] [file ...]</description>
      <pubDate>Wed, 19 Jul 2006 17:12:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826902#M778549</guid>
      <dc:creator>intp</dc:creator>
      <dc:date>2006-07-19T17:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Space Used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826903#M778550</link>
      <description>man du &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; The following options  are  supported  for  /usr/xpg4/bin/du&lt;BR /&gt; only:&lt;BR /&gt;&lt;BR /&gt; -r    By default, generate messages about  directories  that&lt;BR /&gt;       cannot  be  read,  files that cannot be opened, and so&lt;BR /&gt;       forth.&lt;BR /&gt;&lt;BR /&gt; -x    When evaluating file sizes, evaluate only those  files&lt;BR /&gt;       that have the same device as the file specified by the&lt;BR /&gt;       file operand.</description>
      <pubDate>Wed, 19 Jul 2006 17:14:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826903#M778550</guid>
      <dc:creator>intp</dc:creator>
      <dc:date>2006-07-19T17:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Space Used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826904#M778551</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;What release are you running?&lt;BR /&gt;&lt;BR /&gt;In any event:&lt;BR /&gt;&lt;BR /&gt;# du -ks /export/home/* &lt;BR /&gt;&lt;BR /&gt;...is closer to what you first asked about.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 19 Jul 2006 17:27:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826904#M778551</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-07-19T17:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Space Used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826905#M778552</link>
      <description>Thanks &lt;BR /&gt;Can i get the result in Mega Bytes ?</description>
      <pubDate>Wed, 19 Jul 2006 18:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826905#M778552</guid>
      <dc:creator>intp</dc:creator>
      <dc:date>2006-07-19T18:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Space Used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826906#M778553</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;# du -ks /export/home/* | awk '{printf "%8.2f %s\n",$1/1024,$2}'&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 19 Jul 2006 18:25:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826906#M778553</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-07-19T18:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Space Used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826907#M778554</link>
      <description>Untested...&lt;BR /&gt;&lt;BR /&gt;# du -ks /export/home/* | awk '{mb=$1/1024; total += mb; if (mb&amp;gt;250) {printf "%8.2f %s\n",mb,$2}} END {'printf "%8.2f total",total}'&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2006 23:45:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826907#M778554</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-07-19T23:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Space Used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826908#M778555</link>
      <description>Not working ... meaning no errors / no results ...just hanging.. need to ctrl+c to exit...&lt;BR /&gt;&lt;BR /&gt;Quote:&lt;BR /&gt;--------&lt;BR /&gt;Untested...&lt;BR /&gt;&lt;BR /&gt;# du -ks /export/home/* | awk '{mb=$1/1024; total += mb; if (mb&amp;gt;250) {printf "%8.2f %s\n",mb,$2}} END {'printf "%8.2f total",total}'&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.</description>
      <pubDate>Thu, 20 Jul 2006 10:11:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826908#M778555</guid>
      <dc:creator>intp</dc:creator>
      <dc:date>2006-07-20T10:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Space Used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826909#M778556</link>
      <description>There's a minor quote problem.&lt;BR /&gt;The accidental single quote after END { causes the awk program to terminate and the intended terminator quote makes the shell read some more.&lt;BR /&gt;&lt;BR /&gt;Try:&lt;BR /&gt;&lt;BR /&gt;# du -ks /export/home/* | awk '{mb=$1/1024; total += mb; if (mb&amp;gt;250) {printf "%8.2f %s\n",mb,$2}} END {printf "%8.2f total",total}'&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Jul 2006 10:53:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826909#M778556</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-07-20T10:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Space Used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826910#M778557</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1) I bet you are on a SUN&lt;BR /&gt;2) perhaps there are no homes around exceeding your limit -&amp;gt; set it at 25MB for testing&lt;BR /&gt;3) you may come into NFS territory - perhaps you have to check this and exclude them (better run your checker locally). &lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Thu, 20 Jul 2006 11:51:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space-used/m-p/3826910#M778557</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-07-20T11:51:24Z</dc:date>
    </item>
  </channel>
</rss>

