HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- bdf and long FS names
Operating System - HP-UX
1834800
Members
2603
Online
110070
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-29-2002 08:54 AM
11-29-2002 08:54 AM
Hi,
I use BDF to get FS size, %used and mount point. These values are automatically added in reports used to display statistics.
The pb is when the FS name is longer than 18c, the FS is displayed on 2 lines :
/dev/vg05_bc/lvol9 12582912 12291784 282036 98% /u58_bc
/dev/vg05_bc/lvol10
12550144 12291784 250292 98% /u59_bc
/dev/vg05/lvu51 12582912 12291784 282036 98% /u51
How to obtain datas I need on only one line ?
Thanx,
Sebastien.
I use BDF to get FS size, %used and mount point. These values are automatically added in reports used to display statistics.
The pb is when the FS name is longer than 18c, the FS is displayed on 2 lines :
/dev/vg05_bc/lvol9 12582912 12291784 282036 98% /u58_bc
/dev/vg05_bc/lvol10
12550144 12291784 250292 98% /u59_bc
/dev/vg05/lvu51 12582912 12291784 282036 98% /u51
How to obtain datas I need on only one line ?
Thanx,
Sebastien.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2002 09:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2002 09:20 AM
11-29-2002 09:20 AM
Re: bdf and long FS names
Hi Sebastian,
are you fond of Perl?
At CPAN is a wonderful module available viz. Filesys::Statfvs which uses the Unix statvs() syscall to obtain info abt. filesystems.
You can download it from here
http://www.cpan.org/modules/by-module/Filesys/
The usage of this module requires very little Perl knowledge and is straight forward.
Once installed type "perldoc Filesys::Statvfs"
are you fond of Perl?
At CPAN is a wonderful module available viz. Filesys::Statfvs which uses the Unix statvs() syscall to obtain info abt. filesystems.
You can download it from here
http://www.cpan.org/modules/by-module/Filesys/
The usage of this module requires very little Perl knowledge and is straight forward.
Once installed type "perldoc Filesys::Statvfs"
Madness, thy name is system administration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2002 10:07 AM
11-29-2002 10:07 AM
Re: bdf and long FS names
This is a feature of bdf to keep the length of the line to 80 chars or less. The line folding is very common with NFS mounts. You'll want to get a copy of bdfmegs, a script that not only keeps all the info on a single line but shows the stats in megs rather than the less useful Kbytes in bdf. It also has a -v option to show largefile capability, filesystem type/version and block/frag sizes. I've attached the latest version.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP