- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need a good view into 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
Discussions
Discussions
Forums
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
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
тАО07-06-2000 09:34 AM
тАО07-06-2000 09:34 AM
As a rule, though, when I se two metrics which do not agree I like to nail down why they differ and which one I can rely on. Any suggestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 09:39 AM
тАО07-06-2000 09:39 AM
Re: Need a good view into shared memory
Brian
<*(((>< er
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 09:45 AM
тАО07-06-2000 09:45 AM
Re: Need a good view into shared memory
Document Type MD
Date 1999 Nov 02
Description Understanding Shared Memory on PA-RISC Systems
Document Id RCMEMKBAN00000027
Search String shared memory process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 10:14 AM
тАО07-06-2000 10:14 AM
Re: Need a good view into shared memory
Available Requested
95.4gb 1.43gb
The requested value is close, though not identical, to the tabulated results from ipcs. The avauilable number seems absurd for a 10.20 K box with 4GB of physical memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 11:21 PM
тАО07-06-2000 11:21 PM
Re: Need a good view into shared memory
Check the value set for SHMMAX in your kernel parameter.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 11:37 PM
тАО07-06-2000 11:37 PM
Re: Need a good view into shared memory
In glance you have the RSS and VSS size. The VSS should always match the size you get from ipcs. The RSS will typically be smaller.
I'm attaching a program that displays all shared resource uses (shmem, mmap, shared lib etc).
It's an unix program really (ignore the .exe bit!)
Run it and it will self-expand into the 'real' program
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2000 11:57 PM
тАО07-06-2000 11:57 PM
Re: Need a good view into shared memory
ipcs doesn't do such a good job of showing you where the fragmentation in shared memory are. It's a lot more investigative work to find those "holes".
I've got a program attached which can show you the addresses the segments begin with the sizes. You will probably need to map it out on a piece of paper to see where the gaps are, and how big these gaps are.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2000 07:16 AM
тАО07-07-2000 07:16 AM
SolutionAlso, if you try to sum up the rss values for processes in glance, remember to check the defination of the proc_mem_res metric. Some versions report the entire value of rss for each process so that if 10 processes shared the same segment and you sum up their rss values, you would count the same segment 10 times. I believe that the scaled the shared memory segments by the reference count in C.02.40 so that will help. But unless you actually go through a memory region loop in your adviser script (or go to the memory regions screen in glance for each process), you do not have an accurate count of memory usage for each process (too much overhead to re-calculate the actual rss every interval by default), so you could still end up with an approximation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2000 07:59 AM
тАО07-07-2000 07:59 AM
Re: Need a good view into shared memory
For those who attached programs, thank you but I am afraid I make it a rule never to run downloaded programs unless I can examine the source code.