- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- the command of bdf
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
11-24-2008 12:01 AM
11-24-2008 12:01 AM
the command of bdf
i get the result of
'
> bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 409600 409600 0 100% /
/dev/vg00/lvol1 311296 178264 132032 57% /stand
/dev/vg00/lvol8 4718592 1413168 3288424 30% /var
/dev/vg00/lvol7 4505600 2596752 1893944 58% /usr
/dev/vg00/lvol4 1048576 121264 920784 12% /tmp
/dev/vg00/oracle 10240000 6859251 3169798 68% /oracle
/dev/vg00/lvol6 3555328 2185928 1358968 62% /opt
/dev/vg00/lvol5 32768 8968 23672 27% /home
/dev/vg00/lvdata 16384000 10925178 5118721 68% /data
/dev/vgoradata/lvoradata
40960000 4689800 34003378 12% /oradata
/dev/vgcimdata/lvcimdata
81920000 15872442 61919650 20% /cimdata
/dev/vgdata/lvdata 40960000 612966 37829997 2% /data/users/osa/adm
'
how can i get all the information of one device in a line?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 12:05 AM
11-24-2008 12:05 AM
Re: the command of bdf
'/dev/vgoradata/lvoradata
40960000 4689800 34003378 12% /oradata
/dev/vgcimdata/lvcimdata
81920000 15872442 61919650 20% /cimdata
' is not what i want to get.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 12:08 AM
11-24-2008 12:08 AM
Re: the command of bdf
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1124262
Look near the bottom for the latest version.
HTH
Duncna
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 01:16 AM
11-24-2008 01:16 AM
Re: the command of bdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 01:28 AM
11-24-2008 01:28 AM
Re: the command of bdf
bdf | while read FS TOT USED AVAIL PERCENT MNT
do
if [ $FS != "Filesystem" ]
then
if [ "$TOT" = "" ]
then
read TOT USED AVAIL PERCENT MNT
fi
echo $FS $TOT $USED $AVAIL $PERCENT $MNT
fi
done
No doubt someone will post a shorter way orf acheiving this...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 01:29 AM
11-24-2008 01:29 AM
Re: the command of bdf
you no need to Install .. ,
down the file , and copy to your "HOME DIR"
or /tmp folder of test Server @ Custumer place , you should have given atleast login access for login "directory" you can just copy that file and try running IT,
other wise you need creat by yourself .. :)
# cd /tmp
# ./bdfmegs
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2008 01:54 AM
11-24-2008 01:54 AM
Re: the command of bdf
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1124262
or download the Bill's nice script
or
bdf|awk '{ if (NF == 1) { a=$0;getline;print a $0} else print $0}'
Suraj