- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- command to check the free space in Gb
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-21-2008 05:52 AM
10-21-2008 05:52 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2008 05:58 AM
10-21-2008 05:58 AM
SolutionCheck these out
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1224597456427+28353475&threadId=316106
and
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=975411
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2008 05:59 AM
10-21-2008 05:59 AM
Re: command to check the free space in Gb
If you just google your subject line you'll find a solution in the bottom of:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?&threadId=316106
re-google for hpux bfd you'll find:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=350046
you may want to check out bdfmegs and several other similar tools
google: +site:itrc.hp.com bdf gigabytes
"bdf | awk '{ sum += $2; } END { print sum; }' for total space in Megabytes ??"
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1218175
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2008 05:59 AM
10-21-2008 05:59 AM
Re: command to check the free space in Gb
Sure, do the math. Actually, Bill Hassell has a very nice 'bdf' script:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1124262
Regard!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2008 06:00 AM
10-21-2008 06:00 AM
Re: command to check the free space in Gb
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1280182
right?
So you want to know about the free space in file systems?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2008 06:11 AM
10-21-2008 06:11 AM
Re: command to check the free space in Gb
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1124262&admit=109447626+1224598060060+28353475
Totston... You are correct... It is related to my other thread...may be for my future reference...
To make sure that there is no confusition caused... I have opened a new thread..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2008 06:17 AM
10-21-2008 06:17 AM
Re: command to check the free space in Gb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2008 06:17 AM
10-21-2008 06:17 AM
Re: command to check the free space in Gb
#bdf | awk '/^Filesystem/ {next;}; NF>1 && $NF!="/"{datotal+=$(NF-2)/(10
24*1024);printf("%10s %9d kbytes available \n", substr($NF,2), $(NF-2));}END {pr
int "Total available ", datotal, "gigabytes"}' | sort -nr -k2,2
# t "Total available ", datotal, "gigabytes"}' | sort -nr -k2,2
usr 49515144 kbytes available
data 42356606 kbytes available
var 6769232 kbytes available
opt 5017400 kbytes available
tmp 4997160 kbytes available
stand 1671872 kbytes available
home 783093 kbytes available
Total available 105.963 gigabytes
Now after allocation space to the filesystems.. Is there a way to check the Total remaining unallocated space {which is not been allocated to any file system}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2008 06:19 AM
10-21-2008 06:19 AM
Re: command to check the free space in Gb
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2008 06:20 AM
10-21-2008 06:20 AM
Re: command to check the free space in Gb
> From the below forum I have the script 48368.null... Now how to run this script is the issue...
In Bill's thread, he describes the script's usage (available options and arguments)!
If you *look* at the script you downloaded, you would see those optinos and arguments as inline documentation.
If you *run* the script like:
# ./bdfmegs -?
,,,you will see the available options and arguments.
I hope "...how to run this script?" doesn't mean that you need to arm its executable bit.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2008 06:22 AM
10-21-2008 06:22 AM
Re: command to check the free space in Gb
...
PE Size (Mbytes) 32
Total PE 4322
Alloc PE 4312
Free PE 10
...
320MB.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2008 06:24 AM
10-21-2008 06:24 AM
Re: command to check the free space in Gb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2008 06:28 AM
10-21-2008 06:28 AM
Re: command to check the free space in Gb
"Is there a way to check the Total remaining unallocated space {which is not been allocated to any file system}"
This is what vgdisplay (Free PE) is telling you!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
