- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- bdf output in megabytes on 11.23
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
Forums
Discussions
Discussions
Discussions
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
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
10-11-2005 01:33 AM
10-11-2005 01:33 AM
I found a really useful script on the forums that produced all my bdf output into nice columns and into megabytes for HPUX 11.00 and 11.11, but this doesn't seem to work on Itanium 11.23, has anyone got a script that'll do this for 11.23?
Your time and help are much appreciated.
S.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 01:36 AM
10-11-2005 01:36 AM
Re: bdf output in megabytes on 11.23
did you use the bdfmegs script?
revert
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 01:38 AM
10-11-2005 01:38 AM
Re: bdf output in megabytes on 11.23
Can you post the output from the command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 01:38 AM
10-11-2005 01:38 AM
Re: bdf output in megabytes on 11.23
[I setup link called bdfm as I couldn't be bothered to type bdfmegs everytime!]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 01:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 01:41 AM
10-11-2005 01:41 AM
Re: bdf output in megabytes on 11.23
If bdfmegs script - it uses df to get mount point sizes...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 01:52 AM
10-11-2005 01:52 AM
Re: bdf output in megabytes on 11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 02:01 AM
10-11-2005 02:01 AM
Re: bdf output in megabytes on 11.23
It would appear my version of bdfmegs was a bit out of date, I used the version pete attached and it works no problem, although I do get a strange line of zero's, sometimes in the middle, sometimes at the end, but I can live with that.
My version was hanging on the Itanium servers in the middle of the listing and I would have to 'ctrl-c' to end it. Whatever caused this obviously got fixed in the more recent version.
Thanks for all your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 02:12 AM
10-11-2005 02:12 AM
Re: bdf output in megabytes on 11.23
It is attached and called bdfg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 02:14 AM
10-11-2005 02:14 AM
Re: bdf output in megabytes on 11.23
Thank you, much appreciated.
Steve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 02:20 AM
10-11-2005 02:20 AM
Re: bdf output in megabytes on 11.23
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 02:20 AM
10-11-2005 02:20 AM
Re: bdf output in megabytes on 11.23
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 02:26 AM
10-11-2005 02:26 AM
Re: bdf output in megabytes on 11.23
Actually, it doesn't work. I get the following message:
root on pizarro[bin] bdfmegs
interpreter "/usr/bin/sh" not found
sh: bdfmegs: not found.
Any ideas?
S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 02:43 AM
10-11-2005 02:43 AM
Re: bdf output in megabytes on 11.23
# dos2ux bdfmegs.new > bdfmegs
to strip the ^M's from the file.
It also sounds like the shell specification in the first line is invalid in the script for some reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 02:49 AM
10-11-2005 02:49 AM
Re: bdf output in megabytes on 11.23
dos2ux seemed to fix it, thanks.
S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 06:25 AM
10-11-2005 06:25 AM
Re: bdf output in megabytes on 11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 09:30 PM
10-11-2005 09:30 PM
Re: bdf output in megabytes on 11.23
Here I have one modified script showing also inodes.
Regards,
Borislav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 11:16 PM
10-11-2005 11:16 PM
Re: bdf output in megabytes on 11.23
Fetch the source for 'di' from http://www.gentoo.com/di/ and install that :)
FYI I have just uploaded di-4.1 software depots for 10.20, 11.00, and 11.11v1
http://www.cmve.net/~mbrand/di-4.1-10.20.sd.bz
http://www.cmve.net/~mbrand/di-4.1-11.00.sd.bz
http://www.cmve.net/~mbrand/di-4.1-11.11.sd.bz
I'll see if I can manage to make a 4.1-11.23 too from a testdrive
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 11:39 PM
10-11-2005 11:39 PM
Re: bdf output in megabytes on 11.23
http://www.cmve.net/~mbrand/di-4.1-11.23.sd.bz
Please enjoy it's power
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 03:04 AM
10-12-2005 03:04 AM
Re: bdf output in megabytes on 11.23
My nornal bdf output includes the following;
nasunix:/mrcdoc 8786112 53776 8732336 1% /mrcdoc
nasunix:/prod 6195432 2139152 4056280 35% /prod
nasunix:/u 17573248 13503560 4069688 77% /u
with bdfmegs, it shows as;
nasunix:/mrcdoc 8580 53 8528 1% /mrcdoc
nasunix:/mrcdoc 8580 53 8528 1% /mrcdoc
nasunix:/mrcdoc 8580 53 8528 1% /mrcdoc
I traced it back to the MYMOUNTS line. It occurs due to the fact that the delimiter, a ":", is used inthe NFS mout definition.
MYMOUNTS=$(cat $MNTLIST | awk '{print $2":"$3":"$1}')
I changed the delimiter to a pipe ("|").
MYMOUNTS=$(cat $MNTLIST | awk '{print $2"|"$3"|"$1}')
Additionally, the following lines need to be changed reflect the different delimiter also;
MOUNTPOINT=$(echo $MNTINFO | cut -f1 -d"|")
SOURCE=$( echo $MNTINFO | cut -f3 -d"|" )
FSTYPE=$( echo $MNTINFO | cut -f2 -d"|" )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 04:33 AM
10-12-2005 04:33 AM
Re: bdf output in megabytes on 11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 02:21 PM
10-12-2005 02:21 PM
Re: bdf output in megabytes on 11.23
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 02:49 PM
10-12-2005 02:49 PM
Re: bdf output in megabytes on 11.23
One question I have about the source code. In the statement 'awk '{print int($1/1024+.5)}'', why are you adding .5 to the result of $1/1024? I think I know the reason, but I'm just curious to see if I'm right.
Thanks!