HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need to monitor the shared memory usage
Operating System - HP-UX
1836746
Members
2752
Online
110109
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
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
06-22-2005 06:53 AM
06-22-2005 06:53 AM
Need to monitor the shared memory usage
Hi All,
I need to monitor the usage of Shared Memory on a HPUX 11i server so that whenever the shared memory needs a clean up, I can send an alarm email to myself through a script.
Thanks for any inputs on how to do this.
Regards,
Nilesh
I need to monitor the usage of Shared Memory on a HPUX 11i server so that whenever the shared memory needs a clean up, I can send an alarm email to myself through a script.
Thanks for any inputs on how to do this.
Regards,
Nilesh
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2005 07:10 AM
06-22-2005 07:10 AM
Re: Need to monitor the shared memory usage
http://managementsoftware.hp.com/products/gplus/download.html
live free or die
harry d brown jr
live free or die
harry d brown jr
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2005 07:21 AM
06-22-2005 07:21 AM
Re: Need to monitor the shared memory usage
There is shminfo tool. Also you can also use output from ipcs -moba
Anil
Anil
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2005 08:25 AM
06-22-2005 08:25 AM
Re: Need to monitor the shared memory usage
Essentially, all you have to do is cron an ipcs -moba command that uses Perl or awk to look at the NATTCH columns and the DTIME columns. Candidates foe POSSIBLE removal would have NATTCH = 0 and (current_time - DTIME) > some_defined_period. You are wise to simply email yourself rather than automatically calling ipcrm because while NATTCH = 0 is a necessary condition, it may not be a sufficient condition. It's not at all uncommon for an application to setup a shared memory segment and then detach itself and terminate. Other processes then might attach later and detach themselves but if the shared memory segment doesn't exist, the application would crash. You have to know your applications to be able to safely remove SHMID's.
If it ain't broke, I can fix that.
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