<?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: Adding up a bdf output in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-up-a-bdf-output/m-p/4895311#M403095</link>
    <description>bdf|grep -v Filesystem|awk '{c+=$2} END {print c}'&lt;BR /&gt;And same for column 3 and four.</description>
    <pubDate>Fri, 08 Apr 2005 14:11:57 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-04-08T14:11:57Z</dc:date>
    <item>
      <title>Adding up a bdf output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-up-a-bdf-output/m-p/4895310#M403094</link>
      <description>I have a bdf listing like:&lt;BR /&gt;&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     143360   60946   77357   44% /&lt;BR /&gt;/dev/vg00/lvol1      82480   31168   43064   42% /stand&lt;BR /&gt;/dev/vg00/lvol7     770048  681256   84561   89% /var&lt;BR /&gt;/dev/vg00/lvol6     770048  735307   32574   96% /usr&lt;BR /&gt;/dev/vg00/lvol4     204800   43809  150979   22% /tmp&lt;BR /&gt;/dev/vg00/lvol5     307200  241522   61909   80% /opt&lt;BR /&gt;/dev/vg01/data&lt;BR /&gt;                    102400    1133   94945    1% /data&lt;BR /&gt;/dev/vg02/data3&lt;BR /&gt;                    102400    1133   94945    1% /data3&lt;BR /&gt;/dev/vg03/emc   102400    1133   94945    1% /emc_mt&lt;BR /&gt;&lt;BR /&gt;How can I add up of the sizes under Kbytes, Used, and avail.</description>
      <pubDate>Fri, 08 Apr 2005 13:55:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-up-a-bdf-output/m-p/4895310#M403094</guid>
      <dc:creator>Donald C Nelson</dc:creator>
      <dc:date>2005-04-08T13:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding up a bdf output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-up-a-bdf-output/m-p/4895311#M403095</link>
      <description>bdf|grep -v Filesystem|awk '{c+=$2} END {print c}'&lt;BR /&gt;And same for column 3 and four.</description>
      <pubDate>Fri, 08 Apr 2005 14:11:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-up-a-bdf-output/m-p/4895311#M403095</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-04-08T14:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding up a bdf output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-up-a-bdf-output/m-p/4895312#M403096</link>
      <description>integer kbytes=0&lt;BR /&gt;integer used=0&lt;BR /&gt;integer avail=0&lt;BR /&gt;bdf | grep -v "^Filesystem" | \&lt;BR /&gt;awk '{print $2, $3, $4}' | while read -r k u a&lt;BR /&gt;do&lt;BR /&gt;kbytes=$kbytes+$k&lt;BR /&gt;used=$used+$u&lt;BR /&gt;avail=$avail+$a&lt;BR /&gt;done&lt;BR /&gt;echo KBytes = $kbytes&lt;BR /&gt;echo Used = $used&lt;BR /&gt;echo Avail = $avail&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Apr 2005 14:14:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-up-a-bdf-output/m-p/4895312#M403096</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-04-08T14:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding up a bdf output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-up-a-bdf-output/m-p/4895313#M403097</link>
      <description>Thanks  Biswajit  and RAC. Both ideas helped me. I have submitted your points.</description>
      <pubDate>Fri, 08 Apr 2005 14:19:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-up-a-bdf-output/m-p/4895313#M403097</guid>
      <dc:creator>Donald C Nelson</dc:creator>
      <dc:date>2005-04-08T14:19:01Z</dc:date>
    </item>
  </channel>
</rss>

