<?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: bdfmegs - Feb2014 version in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bdfmegs-feb2014-version/m-p/6365191#M486131</link>
    <description>&lt;P&gt;Great stuff, a classic tool, very usefull, thanks for the update!&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2014 08:13:48 GMT</pubDate>
    <dc:creator>likid0</dc:creator>
    <dc:date>2014-02-05T08:13:48Z</dc:date>
    <item>
      <title>bdfmegs - Feb2014 version</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdfmegs-feb2014-version/m-p/6364361#M486130</link>
      <description>&lt;P&gt;bdfmegs is a reformatter script for &lt;STRONG&gt;bdf&lt;/STRONG&gt; along with several options that are not in &lt;STRONG&gt;bdf&lt;/STRONG&gt; itself.&lt;/P&gt;&lt;P&gt;The version has added:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- stdin is available (-D) so that a copy/paste from a listing can be formatted. It will handle bdf -i (inodes) by ignoring them.&lt;/P&gt;&lt;P&gt;-- READ-ONLY filesystems are tagged with a "*"&lt;/P&gt;&lt;P&gt;-- Default sort is column 1 (source). Use -c # to sort on other columns&lt;/P&gt;&lt;P&gt;-- The divisor is 1024 but can be changed to 1000 with -d (reported with -v option)&lt;/P&gt;&lt;P&gt;-- Handles VxVM volumes&lt;/P&gt;&lt;P&gt;-- Will display terabytes and petabytes with useful scaling&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use it as an enhanced bdf. Here are the options:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Usage:  bdfmegs [ -cDdeghlNPpqstuVv ] [ &amp;lt;file(s) or dir(s)&amp;gt; ]
  where:
    -c # = Sort on column #, default=1
    -D = use bdf from stdin pipe (display another bdf)
         Cannot be used with -l, -t or -v
    -d = Toggle divisor (1000 or 1024, current=1024)
    -e = enhancement for percentage and errors
         d=dim h=halfbright i=inverse u=underline b=blink
    -g = show gigabytes, otherwise megabytes
    -h = Usage
    -l = local (no NFS)
    -M   &amp;lt;mountpoints&amp;gt; = skip (grep -v) mountpoints
    -N   &amp;lt;VGnames&amp;gt; = skip one or more volume groups
         Repeat -N or use commas: -N vg10,vg24
    -p   ## = highlight % -ge ##
    -P   ## = show only % -ge ##
    -q = suppress header, line and no char enhancements
    -s = summarize total, used and available
    -t   &amp;lt;fs&amp;gt; = filesystem type, one of:
         hfs nfs cdfs autofs cachefs ffs lofs nfs3 procfs vxfs cifs pipefs
    -u = usage
    -v = verbose (FStype, FSversion, largefiles)
         (VG version needs read permission for devicefile)
    -V   &amp;lt;VGname&amp;gt; = select one or more volume groups
         Repeat -V or use commas: -V vg00,vg01

File(s) or dirpath(s) may be specified to reduce the output of bdfmegs:

       bdfmegs -vg /usr/contrib/bin . .. /var/tmp

If bdfmegs is run as bdfgigs (ie, a link), then -g is default.
                                         (bdfmegs ver 6.4_Feb2014)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some examples:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;File-System                  Mbytes    Used   Avail %Used Mounted on
/dev/vg00/lvol1                 291      82     180   31% /stand
/dev/vg00/lvol3                 544     349     194   64% /
/dev/vg00/lvol4                 200      54     145   27% /tmp
/dev/vg00/lvol5                 100      28      71   28% /home
/dev/vg00/lvol6                6144    4703    1429   77% /opt
/dev/vg00/lvol7                3616    2487    1119   69% /usr
/dev/vg00/lvol8                 9.8g   3387    6574   34% /var
/dev/vgstore/ReallyLongName     128       1     118    1% /mnt2
/dev/vgstore/lvol1            195.3g  106.5g   83.3g  56% /var/opt/ignite
/dev/vgstore/lvol2            488.3g  336.4g  142.5g  70% /var/tmp/Packages
/dev/vgstore/lvol3             48.8g   8153    38.3g  17% /var/tmp/CustomerData
/dev/vgstore/lvol4             48.8g   28.7g   18.9g  60% /var/tmp/Training
/dev/vgstore/lvol5             21.9g   4866    16.1g  23% /var/tmp/Docs&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;bdfmegs never splits the line. It adjusts the layout to fit the largest source device.&lt;/P&gt;&lt;P&gt;-v gives additional information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;File-System               Mbytes    Used   Avail %Used  Type Vr Lrg VGv Mounted on
/dev/vg00/lvol1             1792     721    1062   40%  vxfs  5  no 1.0 /stand
/dev/vg00/lvol3             1024     660     360   65%  vxfs  6 yes 1.0 /
/dev/vg00/lvol4              512     382     129   75%  vxfs  6 yes 1.0 /tmp
/dev/vg00/lvol5              128       7     119    6%  vxfs  6 yes 1.0 /home
/dev/vg00/lvol6             12.7g   11.4g   1306   90%  vxfs  6 yes 1.0 /opt
/dev/vg00/lvol7             6016    4472    1531   74%  vxfs  6 yes 1.0 /usr
/dev/vg00/lvol8             8704    6569    2117   76%  vxfs  6 yes 1.0 /var
/dev/vg2.0/lvol1            97.7g     89    91.5g   0%  vxfs  7 yes 2.0 /lvol2.0a
/dev/vg2.0/lvol2             112       2     103    2%  vxfs  7 yes 2.0 /lvol2.0b *
/dev/vg2.2/lvol1            97.7g     89    91.5g   0%  vxfs  7 yes 2.2 /lvol2.2a
/dev/vg2.2/lvol2             112       2     103    2%  vxfs  7 yes 2.2 /lvol2.2b *
atl1:/var/tmp/Packages     488.3g  336.4g  142.5g  70%   nfs  3  -- n/a /mnt2
atl1:/var/tmp/labsystems     9.8g   3387    6574   34%   nfs  3  -- n/a /mnt4
memfs                        256       0     256    0% memfs na  -- n/a /memfs
                                                                         (divisor = 1024)

* means filesystem is mounted read-only&lt;/PRE&gt;&lt;P&gt;You can select (-Vvg_name) (or deselect with -Nvg_name) volume groups.&lt;/P&gt;&lt;P&gt;You can also use -s for a sum total of the displayed mountpoints.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;File-System      Mbytes    Used   Avail %Used Mounted on
/dev/vg00/lvol1    1792     721    1062   40% /stand
/dev/vg00/lvol3    1024     660     360   65% /
/dev/vg00/lvol4     512     382     129   75% /tmp
/dev/vg00/lvol5     128       7     119    6% /home
/dev/vg00/lvol6    12.7g   11.4g   1306   90% /opt
/dev/vg00/lvol7    6016    4472    1531   74% /usr
/dev/vg00/lvol8    8704    6567    2119   76% /var
-- sum totals -    30.4g   23.9g   6626   --- sum totals ---&lt;/PRE&gt;&lt;P&gt;You can find any mountpoints that are more than a given percentage full (-P 70):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;File-System      Mbytes    Used   Avail %Used Mounted on
/dev/vg00/lvol4     512     382     129   75% /tmp
/dev/vg00/lvol6    12.7g   11.4g   1306   90% /opt
/dev/vg00/lvol7    6016    4472    1531   74% /usr
/dev/vg00/lvol8    8704    6567    2119   76% /var&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;And you can remove the headers and trailers for scripts with -q (this was bdfmegs -lq -c3):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;memfs                        256       0     256    0% /memfs
/dev/vg2.0/lvol2             112       2     103    2% /mntlvol2.0b
/dev/vg2.2/lvol2             112       2     103    2% /mntlvol2.2b
/dev/vg00/lvol5              128       7     119    6% /home
/dev/vg2.0/lvol1            97.7g     89    91.5g   0% /mntlvol2.0a
/dev/vg2.2/lvol1            97.7g     89    91.5g   0% /mntlvol2.2a
/dev/vg00/lvol4              512     382     129   75% /tmp
/dev/vg00/lvol3             1024     660     360   65% /
/dev/vg00/lvol1             1792     721    1062   40% /stand
atl1:/var/tmp/labsystems     9.8g   3387    6574   34% /mnt4
/dev/vg00/lvol7             6016    4472    1531   74% /usr
/dev/vg00/lvol8             8704    6566    2120   76% /var
/dev/vg00/lvol6             12.7g   11.4g   1306   90% /opt
atl1:/var/tmp/Packages     488.3g  336.4g  142.5g  70% /mnt2&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Be sure to transfer the file in ASCII mode when using ftp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2014 19:27:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdfmegs-feb2014-version/m-p/6364361#M486130</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2014-02-04T19:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: bdfmegs - Feb2014 version</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdfmegs-feb2014-version/m-p/6365191#M486131</link>
      <description>&lt;P&gt;Great stuff, a classic tool, very usefull, thanks for the update!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2014 08:13:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdfmegs-feb2014-version/m-p/6365191#M486131</guid>
      <dc:creator>likid0</dc:creator>
      <dc:date>2014-02-05T08:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: bdfmegs - Feb2014 version</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdfmegs-feb2014-version/m-p/6679225#M487989</link>
      <description>&lt;P&gt;Dear Bill Hassell,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can you please share me the detailed procedure how to use this script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;R.Kannan&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Nov 2014 02:41:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdfmegs-feb2014-version/m-p/6679225#M487989</guid>
      <dc:creator>rkannan172</dc:creator>
      <dc:date>2014-11-29T02:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: bdfmegs - Feb2014 version</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdfmegs-feb2014-version/m-p/6679228#M487991</link>
      <description>&lt;P&gt;&amp;gt;Can you please share me the detailed procedure how to use this script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bill's post contains a list of all the options.&amp;nbsp; Which do you want?&amp;nbsp; What have you tried?&lt;/P&gt;&lt;P&gt;What are you trying to see/do?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Nov 2014 02:55:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdfmegs-feb2014-version/m-p/6679228#M487991</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-11-29T02:55:49Z</dc:date>
    </item>
  </channel>
</rss>

