- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- usage of shared memory?
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
Forums
Discussions
Discussions
Discussions
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
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
05-06-2003 01:01 AM
05-06-2003 01:01 AM
usage of shared memory?
I have a machine wich sometime go's "sleeping".
I think it is a memory problem, because of paging activity.
How can i detect the actual usage of shared memory ? ( is ipcs -ma the only way ?)
And second: Where in swapinfo output is the shared memory usage hidden?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2003 01:18 AM
05-06-2003 01:18 AM
Re: usage of shared memory?
To confirm you theory of paging activity then monitor if with;
vmstat 1 100
and look at the pi and po columns. If these are running >1 constantly then you are indeed paging and have run out of free memory.
ipcs -ma shows what shared memory is allocated to what user/pid. It doesnt show how much of the allocated memory is actually being used. I dont believe you can easily work this out, you would need to attach to the shared memory segment and add up whats currently being used, not easy, and requires some C programming.
swapinfo -mt does include shared memory usage, its under the memory line in the USED column. Its listed here because shared memory is locked in memory - it cant be paged out, thus its listed as used becuase it cant be used for paging activity. However, all processes locked into memory are in this column, not only shared memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2003 01:20 AM
05-06-2003 01:20 AM
Re: usage of shared memory?
regards
zeev.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2003 01:27 AM
05-06-2003 01:27 AM
Re: usage of shared memory?
I think the command 'ipcs -a -m' and Glance are the only ways to display the current shared memory usage.
If you have a software contract with HP, please contact your local HP-Support-Center and ask for following utilities 'shminfo' and 'kmeminfo'. This unsupported tools display a lot more infos of shared memory usage.
Like I know is there no option in 'swapinfo' about shared memory, you only get informations about swap space.
Best regards ..
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2003 01:27 AM
05-06-2003 01:27 AM
Re: usage of shared memory?
ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/shminfo/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 07:02 AM
05-07-2003 07:02 AM
Re: usage of shared memory?
Shared memory is not always locked into memory. A program with appropriate privileges can choose to lock it with shmctl(SHM_LOCK). Perhaps you use a lot of programs that choose to do that.