<?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: bdf and du -ks in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595509#M854535</link>
    <description>Yes, youre right, sorry.</description>
    <pubDate>Tue, 16 Oct 2001 09:01:32 GMT</pubDate>
    <dc:creator>Marcin Wicinski</dc:creator>
    <dc:date>2001-10-16T09:01:32Z</dc:date>
    <item>
      <title>bdf and du -ks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595506#M854532</link>
      <description>hello everybody&lt;BR /&gt;i'm running on a class L 1000 server with HPUX-11.00.&lt;BR /&gt;i have /home1 associed with /dev/vg01/lvol1 (the only lvol on this vg)( on a 18 Go disk)&lt;BR /&gt;when i do a bdf | grep home1 (or df -k | grep home1), i find  &lt;BR /&gt;"/dev/vg01/lvol1    17776640 15912532 1864108   90% /home1"&lt;BR /&gt;if i understand, it's means that there is 16 Go occuped.&lt;BR /&gt;&lt;BR /&gt;But when i do a du -ks /home1, the answer is :&lt;BR /&gt;"7272736 /home1"  ie /1024 = 7 Go occuped. &lt;BR /&gt;why this difference ?&lt;BR /&gt;what the probleme ?&lt;BR /&gt;thanks for all for your help.&lt;BR /&gt;&lt;BR /&gt;Thomas</description>
      <pubDate>Tue, 16 Oct 2001 08:46:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595506#M854532</guid>
      <dc:creator>mornet</dc:creator>
      <dc:date>2001-10-16T08:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: bdf and du -ks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595507#M854533</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;du result is not in bytes but in 512-byte blocks.&lt;BR /&gt;&lt;BR /&gt;Later,</description>
      <pubDate>Tue, 16 Oct 2001 08:53:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595507#M854533</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2001-10-16T08:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: bdf and du -ks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595508#M854534</link>
      <description>thanks, but for me the -k option for du means that the result is in Ko.</description>
      <pubDate>Tue, 16 Oct 2001 08:56:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595508#M854534</guid>
      <dc:creator>mornet</dc:creator>
      <dc:date>2001-10-16T08:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: bdf and du -ks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595509#M854535</link>
      <description>Yes, youre right, sorry.</description>
      <pubDate>Tue, 16 Oct 2001 09:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595509#M854535</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2001-10-16T09:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: bdf and du -ks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595510#M854536</link>
      <description>Are there any processes running under /home1, you can check using fuser -cu /home1.&lt;BR /&gt;&lt;BR /&gt;Its possible that someone has deleted file(s) that is still open by a process.  Even though the file appears to be gone, until the process does a close() on the file(s), it is not released from the filesystem.  Hence bdf will report the filesystem with the file(s) still there whereas du will report the the filesystem without the file (since du adds up all the files in the filesystem).&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Tue, 16 Oct 2001 09:05:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595510#M854536</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-16T09:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: bdf and du -ks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595511#M854537</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Well, du -k gives the block count (total, occupied, free) in 1024-byte blocks. On the other hand, bdf gives you the number of free blocks. So, it depends on the size of the blocks on that partition, imho.&lt;BR /&gt;&lt;BR /&gt;Try df -g &lt;PARTITION&gt; and see what is the block size.&lt;BR /&gt;&lt;BR /&gt;E.&lt;/PARTITION&gt;</description>
      <pubDate>Tue, 16 Oct 2001 09:26:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595511#M854537</guid>
      <dc:creator>Eugen Cocalea</dc:creator>
      <dc:date>2001-10-16T09:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: bdf and du -ks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595512#M854538</link>
      <description>du shows the number of currently allocated blocks and counts the blocks you've just deleted as free.&lt;BR /&gt;bdf has a more negative perspective and it shows the free disk space available. &lt;BR /&gt;&lt;BR /&gt;The difference is here: if a still active process allocated blocks eg for a logfile that you've just deleted "bdf" counts these as still occupied. This wont change until the process closes the file ("deallocates the blocks") as it usually happens when the process terminates. &lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Oct 2001 10:02:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595512#M854538</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2001-10-16T10:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: bdf and du -ks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595513#M854539</link>
      <description>thanks for your answer.&lt;BR /&gt;with a fuser -cu /home1, i see that there is 17 process which are "working". but with ps -ef i see there is 7 &lt;DEFUNCT&gt; process and some are  the same in the fuser command.&lt;BR /&gt;&lt;BR /&gt;#df -g /home1 &lt;BR /&gt;/home1           (/dev/vg01/lvol1       ) :&lt;BR /&gt;       8192 file system block size    4096 fragment size&lt;BR /&gt;      4444160 total blocks          466025 total free blocks&lt;BR /&gt;      466025 allocated free blocks   951552 total i-nodes&lt;BR /&gt; 519798 total free i-nodes  519798 allocated free i-nodes&lt;BR /&gt; 1073807361 file system id      vxfs file system type&lt;BR /&gt;           0x10 flags               255 file system name length&lt;BR /&gt;         /home1 file system specific string&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I think i reboot the system and see if the defunct process are again here or not, and if there is a difference.&lt;BR /&gt;thanks for all&lt;/DEFUNCT&gt;</description>
      <pubDate>Tue, 16 Oct 2001 10:23:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595513#M854539</guid>
      <dc:creator>mornet</dc:creator>
      <dc:date>2001-10-16T10:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: bdf and du -ks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595514#M854540</link>
      <description>Yes, if it's not a problem for you, you can reboot the machine - defunct processes will diappear ( defunct process = zombie process).&lt;BR /&gt;&lt;BR /&gt;Later,</description>
      <pubDate>Tue, 16 Oct 2001 10:42:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595514#M854540</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2001-10-16T10:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: bdf and du -ks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595515#M854541</link>
      <description>Besides the already posted pointers to 'namesless' files (i.e. files without a name, accounted for by bdf but not fby du), please use the "-b" option of bdf (Display information regarding file system swapping) to make sure that file system swapping is not (part of) the cause.</description>
      <pubDate>Wed, 17 Oct 2001 10:34:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-ks/m-p/2595515#M854541</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2001-10-17T10:34:48Z</dc:date>
    </item>
  </channel>
</rss>

