- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- output 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
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
тАО08-08-2006 04:53 AM
тАО08-08-2006 04:53 AM
I want to put the output of the command bdf, all like the begining of the snapshot..
/dev/vg00/lvol5 2150400 225325 1806726 11% /savecrash
/dev/vgwsx/lvol1 10485760 6840846 3531194 66% /oradata/MP_WSX
/dev/vg00/lvol6 819200 507640 292147 63% /opt
/dev/vg00/lvoltib 102400 34019 64164 35% /opt/tib
/dev/vg00/lvol9 1048576 822505 214508 79% /opt/oracle
/dev/vgws_mpbe/lvol9 53248 4675 45599 9% /oradata/WSMPBE0
/dev/vgws_mpbe/lvol2
512000 369879 133245 74% /oradata/WSMPBE1
/dev/vgws_mpbe/lvol3
3072000 2409453 621272 80% /oradata/WSMPBE2
This is a bug of bdf ?? I don't understand why the end is different from the begining !! .. I need all text frmated as the begining to produce a documment
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 04:57 AM
тАО08-08-2006 04:57 AM
Re: output of bdf
This is not a bug. Your output lines are long enough to span multiple lines. Use Bill Hassell's script as recently updated and posted here:
https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048509
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 05:48 AM
тАО08-08-2006 05:48 AM
Re: output of bdf
Similar to the Linux version of df where you can the -h option and the output will be condensed and report M or G.
You may also want to look at the 'gdf' tool as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 06:28 AM
тАО08-08-2006 06:28 AM
Re: output of bdf
Also consider:
1) Redirecting 'bdf' output to a file, and then using that file to produce your document
# bdf > /tmp/bdf.out
2) Using 'cut' to trim on-screen 'bdf' output (with loss of data)
# bdf | cut -c-${COLUMNS}
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 06:45 AM
тАО08-08-2006 06:45 AM
Solutionhttps://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048509
or pipe the output to awk for something like:
# bdf | awk '{if(NF==1){l=$0;getline;sub(" *"," ");print l$0}else print}'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 12:15 PM
тАО08-08-2006 12:15 PM
Re: output of bdf
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 12:15 PM
тАО08-08-2006 12:15 PM
Re: output of bdf
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 09:08 PM
тАО08-08-2006 09:08 PM
Re: output of bdf
Use Bill Hassell "bdf" utility to format otuput:
https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048509
"one line for each file system"
rgs,
ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 09:29 PM
тАО08-08-2006 09:29 PM
Re: output of bdf
Why don't you refer to this thread?
Please have a look at the post above yours.
First read, then post (or skip it).
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
тАО08-08-2006 10:26 PM
тАО08-08-2006 10:26 PM
Re: output of bdf
rgs,
ran