- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: bdfmegs ver 5.3
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2009 12:41 PM
тАО09-07-2009 12:41 PM
Here's the -h (help) option:
Usage: bdfmegs [ -cdghlNPpqstuVv ] [
where:
-c # = Sort on column #
-d = Toggle divisor (1000 or 1024, current=1000)
-g = show gigabytes, otherwise megabytes
-h = Usage (return code=0, Usage to stdout)
-l = local (no NFS)
-N
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
-u = usage (return code=0, Usage to stdout)
-v = verbose (type, version, largefiles)
(version info read permission for mountpoint)
-V
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 5.3_Sep2009)
Bill Hassell, sysadmin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2009 06:30 PM
тАО09-07-2009 06:30 PM
Re: bdfmegs ver 5.3
i had downloaded it and will try with one of my test unix system.
i think in this update -V option is very usefull,
thanks again.. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2009 11:57 PM
тАО09-07-2009 11:57 PM
Re: bdfmegs ver 5.3
This is not only a good tool, but a good example of shell programming as well.
Rgds,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2009 11:59 PM
тАО09-07-2009 11:59 PM
Re: bdfmegs ver 5.3
Thanks for this intersting tool.
Jorge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 12:58 AM
тАО09-08-2009 12:58 AM
Re: bdfmegs ver 5.3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 01:19 AM
тАО09-08-2009 01:19 AM
Re: bdfmegs ver 5.3
I tried -d switch, could you please look at the output in my 11i v1 HP-UX server:
# ./bdfmegs -vd /usr/contrib/bin /var/tmp
File-System Mbytes Used Avail %Used Type Vr Lrg Mounted on
/dev/vg00/lvol8 2048 1414 628 69% vxfs 4 yes /usr
/dev/vg00/lvol9 2048 833 1205 41% vxfs 4 yes /var
# ./bdfmegs -v /usr/contrib/bin /var/tmp
File-System Mbytes Used Avail %Used Type Vr Lrg Mounted on
/dev/vg00/lvol8 2097 1448 643 69% vxfs 4 yes /usr
/dev/vg00/lvol9 2097 853 1234 41% vxfs 4 yes /var
-different MB(s) ,so I admit that I could not quite catch the reason for this, can you explain why added this workaround ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 05:16 AM
тАО09-08-2009 05:16 AM
Solution# ./bdfmegs -vd /usr/contrib/bin /var/tmp
File-System Mbytes Used Avail %Used Type Vr Lrg Mounted on
/dev/vg00/lvol8 2048 1414 628 69% vxfs 4 yes /usr
/dev/vg00/lvol9 2048 833 1205 41% vxfs 4 yes /var
# ./bdfmegs -v /usr/contrib/bin /var/tmp
File-System Mbytes Used Avail %Used Type Vr Lrg Mounted on
/dev/vg00/lvol8 2097 1448 643 69% vxfs 4 yes /usr
/dev/vg00/lvol9 2097 853 1234 41% vxfs 4 yes /var
*****************
In the first output, using the '-d' switch, it is forcing the use of 1024 as the divisor for figuring MB and GB. Your output shows the the LVOLs are '2048 MB' (2 GB) which is 2,097,152 KB / 1024.
The 2nd output is using 1000 as the divisor. Thus it is showing 2,097,152 / 1000 = 2,097 MB for your LVOLs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 05:51 AM
тАО09-08-2009 05:51 AM
Re: bdfmegs ver 5.3
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 06:21 AM
тАО09-08-2009 06:21 AM
Re: bdfmegs ver 5.3
No matter point I received.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2009 08:58 AM
тАО12-10-2009 08:58 AM