<?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 Confused about &amp;quot;bdf&amp;quot; command? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-about-quot-bdf-quot-command/m-p/2436507#M768375</link>
    <description>Dear all expertise, &lt;BR /&gt;&lt;BR /&gt; I have confused about out put of "bdf" command, please see below &lt;BR /&gt;&lt;BR /&gt;#bdf &lt;BR /&gt;Filesystem kbytes used avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3 3145728 2370414 726944 77% /&lt;BR /&gt;&lt;BR /&gt; If calculate by manual &lt;BR /&gt;                %used =  3145728/2370414 * 100 &lt;BR /&gt;             = 75.35 &lt;BR /&gt;             ~  76%  &lt;BR /&gt;       &lt;BR /&gt;             Why "bdf" command say 77%  ??? but exactly ~76%&lt;BR /&gt;&lt;BR /&gt;Thanks advance for you replies &lt;BR /&gt;Worapoj P.</description>
    <pubDate>Tue, 15 Aug 2000 06:06:21 GMT</pubDate>
    <dc:creator>Worapoj P.</dc:creator>
    <dc:date>2000-08-15T06:06:21Z</dc:date>
    <item>
      <title>Confused about "bdf" command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-about-quot-bdf-quot-command/m-p/2436507#M768375</link>
      <description>Dear all expertise, &lt;BR /&gt;&lt;BR /&gt; I have confused about out put of "bdf" command, please see below &lt;BR /&gt;&lt;BR /&gt;#bdf &lt;BR /&gt;Filesystem kbytes used avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3 3145728 2370414 726944 77% /&lt;BR /&gt;&lt;BR /&gt; If calculate by manual &lt;BR /&gt;                %used =  3145728/2370414 * 100 &lt;BR /&gt;             = 75.35 &lt;BR /&gt;             ~  76%  &lt;BR /&gt;       &lt;BR /&gt;             Why "bdf" command say 77%  ??? but exactly ~76%&lt;BR /&gt;&lt;BR /&gt;Thanks advance for you replies &lt;BR /&gt;Worapoj P.</description>
      <pubDate>Tue, 15 Aug 2000 06:06:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-about-quot-bdf-quot-command/m-p/2436507#M768375</guid>
      <dc:creator>Worapoj P.</dc:creator>
      <dc:date>2000-08-15T06:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Confused about "bdf" command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-about-quot-bdf-quot-command/m-p/2436508#M768376</link>
      <description>sorry I missed some one. This is correct message. &lt;BR /&gt;&lt;BR /&gt;Dear all expertise, &lt;BR /&gt;&lt;BR /&gt; I have confused about out put of "bdf" command, please see below &lt;BR /&gt;&lt;BR /&gt;#bdf &lt;BR /&gt;Filesystem kbytes used avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3 3145728 2370414 726944 77% /&lt;BR /&gt;&lt;BR /&gt; If calculate by manual &lt;BR /&gt;                %used =  2370414/3145728 * 100 &lt;BR /&gt;             = 75.35 &lt;BR /&gt;             ~  76%  &lt;BR /&gt;       &lt;BR /&gt;             Why "bdf" command say 77%  ??? but exactly ~76%&lt;BR /&gt;&lt;BR /&gt;Thanks advance for you replies &lt;BR /&gt;Worapoj P.</description>
      <pubDate>Tue, 15 Aug 2000 06:06:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-about-quot-bdf-quot-command/m-p/2436508#M768376</guid>
      <dc:creator>Worapoj P.</dc:creator>
      <dc:date>2000-08-15T06:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Confused about "bdf" command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-about-quot-bdf-quot-command/m-p/2436509#M768377</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The reason is that the 'kbytes' column display, isn't actually what it uses to calculate the percentage from.&lt;BR /&gt;&lt;BR /&gt;If you add together 'avail' and 'used' you will see that it doesn't equal 'kbytes'. This is the overhead of the filesystem structures etc. So, bdf removes that from the calculation.&lt;BR /&gt;&lt;BR /&gt;So, it becomes :-&lt;BR /&gt;&lt;BR /&gt;used / (kbytes - ( free - avail )) * 100 + 0.5&lt;BR /&gt;&lt;BR /&gt;'free' isn't displayed either. &lt;BR /&gt;&lt;BR /&gt;But, it also works with :-&lt;BR /&gt;&lt;BR /&gt;used / ( used + avail ) * 100 + 0.5&lt;BR /&gt;&lt;BR /&gt;or if you want to be really complicated :-&lt;BR /&gt;&lt;BR /&gt;used / ( kbytes + ( kbytes - used - avail ) ) * 100 + 0.5&lt;BR /&gt;&lt;BR /&gt;However, 'free' can be viewed (assuming a vxfs filesystem), using the 'fstyp -v /dev/vgXX/lvolYY' command.&lt;BR /&gt;&lt;BR /&gt;Andy</description>
      <pubDate>Tue, 15 Aug 2000 06:38:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-about-quot-bdf-quot-command/m-p/2436509#M768377</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-08-15T06:38:32Z</dc:date>
    </item>
  </channel>
</rss>

