- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Cannot properly Filter BDF Output
Operating System - Linux
1752805
Members
5722
Online
108789
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
Discussions
Discussions
Forums
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
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
тАО04-09-2008 06:39 AM
тАО04-09-2008 06:39 AM
Hi All
We have script which sends us mail if any file system goes above 95%.
bdf|awk '{if ($5 > 95) print $5,$6}'| mailx -s "FILE SYSTEM ABOVE %"
But some file system have long name as shown below .I attached the output of BDF command)
/dev/vg_data/sapmnt_d11
1048576 472834 540011 47% /sapmnt/D11
/dev/vg_data/stage_920_64
5120000 2665501 2301094 54% /oracle/stage/920_64
/dev/vg_data/oracle_stage_817_64
1196032 944039 237285 80% /oracle/stage/817_64
/dev/vg_data/oracle_d11
1024000 408710 576846 41% /oracle/D11
So the script doesnot give any information if file system goes above 95%in above case
Please suggest me any other command?
Or Is there any command which will take field from right instead of left.
Thanks with Regards
We have script which sends us mail if any file system goes above 95%.
bdf|awk '{if ($5 > 95) print $5,$6}'| mailx -s "FILE SYSTEM ABOVE %"
But some file system have long name as shown below .I attached the output of BDF command)
/dev/vg_data/sapmnt_d11
1048576 472834 540011 47% /sapmnt/D11
/dev/vg_data/stage_920_64
5120000 2665501 2301094 54% /oracle/stage/920_64
/dev/vg_data/oracle_stage_817_64
1196032 944039 237285 80% /oracle/stage/817_64
/dev/vg_data/oracle_d11
1024000 408710 576846 41% /oracle/D11
So the script doesnot give any information if file system goes above 95%in above case
Please suggest me any other command?
Or Is there any command which will take field from right instead of left.
Thanks with Regards
Work is life, you know, and without it, there's nothing but fear and insecurity.
Solved! Go to Solution.
- Tags:
- bdf
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 06:50 AM
тАО04-09-2008 06:50 AM
Solution
Hi:
See this thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1207752381998+28353475&threadId=1198814
Regards!
...JRF...
See this thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1207752381998+28353475&threadId=1198814
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2008 01:59 AM
тАО04-15-2008 01:59 AM
Re: Cannot properly Filter BDF Output
i got satisfactory solution
Work is life, you know, and without it, there's nothing but fear and insecurity.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP