- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to monitor directory size using SNMP traps.
Operating System - HP-UX
1820530
Members
2172
Online
109626
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
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
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
тАО03-03-2009 02:31 AM
тАО03-03-2009 02:31 AM
How to monitor directory size using SNMP traps.
Hi Gurus,
I want to monitor the size of certain directories (may be all..) on my HP-UX11.23 system. I want to restrict the metadata structure of a directory to be lower than a threshold value. If that exceeds, a SNMP trap should get generated and targated to a OVO NNM system. The reason to do this monitoring is because of VxFS issues with directories having big size metadata structure.
http://wtec.cup.hp.com/~hpux/fs/VxFS/pa-news/jfs_dvnl2bb.htm
Though the EMS system allows to manage the root filesystem (availMB) size but i don't know if i can configure at individual directory level also ?
Could somebody please help me ?
Best Regards
Sudhir
I want to monitor the size of certain directories (may be all..) on my HP-UX11.23 system. I want to restrict the metadata structure of a directory to be lower than a threshold value. If that exceeds, a SNMP trap should get generated and targated to a OVO NNM system. The reason to do this monitoring is because of VxFS issues with directories having big size metadata structure.
http://wtec.cup.hp.com/~hpux/fs/VxFS/pa-news/jfs_dvnl2bb.htm
Though the EMS system allows to manage the root filesystem (availMB) size but i don't know if i can configure at individual directory level also ?
Could somebody please help me ?
Best Regards
Sudhir
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 02:48 AM
тАО03-03-2009 02:48 AM
Re: How to monitor directory size using SNMP traps.
Shalom,
I would write a script using du -sk or du -k | sort -rn
SEP
I would write a script using du -sk or du -k | sort -rn
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 02:58 AM
тАО03-03-2009 02:58 AM
Re: How to monitor directory size using SNMP traps.
Hi,
wtec.cup.hp.com is internal HP.
If your upgrade to vxFS 4.1 or vxFS 5.0 do you have this issues?
wtec.cup.hp.com is internal HP.
If your upgrade to vxFS 4.1 or vxFS 5.0 do you have this issues?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 03:00 AM
тАО03-03-2009 03:00 AM
Re: How to monitor directory size using SNMP traps.
Hi SEP,
Thanks a lot for the reply. But may be my problem is not about the actual size of the directory( real content of the directory) but about the metadata structure of that directory. The problem with VxFS is, if there is very frequent creation/updation/deletion of files happens under a certain directory then the metadata of that directory keeps growing even if the files been created are no longer exist. So this way the even if the directory barely hosts few files, its metadata doesn't shrink and hence result in a fragmented but huge structure.
Best Regards
Sudhir
Thanks a lot for the reply. But may be my problem is not about the actual size of the directory( real content of the directory) but about the metadata structure of that directory. The problem with VxFS is, if there is very frequent creation/updation/deletion of files happens under a certain directory then the metadata of that directory keeps growing even if the files been created are no longer exist. So this way the even if the directory barely hosts few files, its metadata doesn't shrink and hence result in a fragmented but huge structure.
Best Regards
Sudhir
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP