<?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: df  command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234800#M172741</link>
    <description>actually i was confused. I was thinking about the du command.&lt;BR /&gt;&lt;BR /&gt;I suppose with enough contortions my poorly explained post can be useful.&lt;BR /&gt;&lt;BR /&gt;LOL&lt;BR /&gt;&lt;BR /&gt;SEP@conference.my.pillow&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Wed, 31 Mar 2004 02:17:45 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-03-31T02:17:45Z</dc:date>
    <item>
      <title>df  command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234798#M172739</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am using df -k to show all the disk space and usage of the filesystem.  Is there anyway that I can display the disk space in MB format rathan KB</description>
      <pubDate>Wed, 31 Mar 2004 02:07:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234798#M172739</guid>
      <dc:creator>kholikt</dc:creator>
      <dc:date>2004-03-31T02:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: df  command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234799#M172740</link>
      <description>This will do it.&lt;BR /&gt;&lt;BR /&gt;modify this which parses bdf output.&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;                                                                                &lt;BR /&gt;echo "Filesystem          Mbytes       used      avail %used Mounted on"&lt;BR /&gt;                                                                                &lt;BR /&gt;bdf $1 | grep -v Filesystem | awk '{ printf("%s %10d %10d %10d %4s  %s\n",$1,$2/1024,$3/1024,$4/1024,$5,$6)}'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;                                                                                &lt;BR /&gt;echo "Filesystem          Mbytes       used      avail %used Mounted on"&lt;BR /&gt;                                                                                &lt;BR /&gt;df -k $1 | grep -v Filesystem | awk '{ printf("%s %10d %10d %10d %4s  %s\n",$1,$2/1024,$3/1024,$4/1024,$5,$6)}'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You have to mess with it so that it gets the kb figure divided by 1024. It can be done.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 31 Mar 2004 02:15:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234799#M172740</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-03-31T02:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: df  command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234800#M172741</link>
      <description>actually i was confused. I was thinking about the du command.&lt;BR /&gt;&lt;BR /&gt;I suppose with enough contortions my poorly explained post can be useful.&lt;BR /&gt;&lt;BR /&gt;LOL&lt;BR /&gt;&lt;BR /&gt;SEP@conference.my.pillow&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 31 Mar 2004 02:17:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234800#M172741</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-03-31T02:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: df  command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234801#M172742</link>
      <description>Hi,&lt;BR /&gt;what is the O.S.&lt;BR /&gt;In Hp try bdf or &lt;BR /&gt;in Linux try &lt;BR /&gt;&lt;BR /&gt;df -H&lt;BR /&gt;&lt;BR /&gt;Reg</description>
      <pubDate>Wed, 31 Mar 2004 02:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234801#M172742</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-03-31T02:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: df  command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234802#M172743</link>
      <description>I think you'll find bdf much more useful than df -k. And the attached script is called bdfmegs which will report everything in megs (try the -v option)</description>
      <pubDate>Wed, 31 Mar 2004 02:22:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234802#M172743</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-03-31T02:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: df  command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234803#M172744</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply I have notice your script is very useful but not easy to parse&lt;BR /&gt;&lt;BR /&gt;echo "Filesystem Mbytes used avail %used Mounted on"&lt;BR /&gt;&lt;BR /&gt;df -k $1 | grep -v Filesystem | awk '{ printf("%s %10d %10d %10d %4s %s\n",$1,$2/1024,$3/1024,$4/1024,$5,$6)}'&lt;BR /&gt;&lt;BR /&gt;I need to convert the output to a CSV file but the output simply generate too much spaces in between the field. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Mar 2004 02:28:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234803#M172744</guid>
      <dc:creator>kholikt</dc:creator>
      <dc:date>2004-03-31T02:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: df  command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234804#M172745</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I get confuse when you say disk space because it is not equal to filesystem space.&lt;BR /&gt;Anyway bdf is the best command in order to see the filesystem space (total size, used and available space).&lt;BR /&gt;Anyway the best command in order to see the used space is 'du -sk'; option -k stands for Kbytes. It is more reliable about the used space of a filesystem than bdf.&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ettore</description>
      <pubDate>Wed, 31 Mar 2004 03:15:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234804#M172745</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2004-03-31T03:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: df  command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234805#M172746</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you want to see the file system size in MB, you can use lvdisplay. For finding out freespace, used space, available etc. bdf is best.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Shyjith</description>
      <pubDate>Thu, 01 Apr 2004 07:28:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-command/m-p/3234805#M172746</guid>
      <dc:creator>Shyjith P K</dc:creator>
      <dc:date>2004-04-01T07:28:16Z</dc:date>
    </item>
  </channel>
</rss>

