- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: shminfo - Shared memory info
Operating System - HP-UX
1748267
Members
3858
Online
108760
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
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
тАО12-10-2009 04:38 PM
тАО12-10-2009 04:38 PM
Re: shminfo - Shared memory info
>Therefore using ipcs -ma will not give me the list of processes attached to this shared memory segment.
It may give one and that may give you a clue.
>shminfo is only tool to my knowledge which can provide this information.
As Michael said, you can roll your own with pstat(2).
See attached. Compile with:
cc itrc_ipc_mem_pids.c -D_PSTAT64
>Michael: use ptree, pstat and other process analysis tools after you get the pid from ipcs
Which ptree? Yours and HP-UX's doesn't do that.
It may give one and that may give you a clue.
>shminfo is only tool to my knowledge which can provide this information.
As Michael said, you can roll your own with pstat(2).
See attached. Compile with:
cc itrc_ipc_mem_pids.c -D_PSTAT64
>Michael: use ptree, pstat and other process analysis tools after you get the pid from ipcs
Which ptree? Yours and HP-UX's doesn't do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2009 06:26 PM
тАО12-10-2009 06:26 PM
Re: shminfo - Shared memory info
Hi Dennis:
I know, that ptree script is nothing like the Solaris command, which I miss in HP-UX
Kothari:
When done assign 0 to 10 points to all responses and close the thread, else, people will respond to it for years. Yes, it does happen.
I know, that ptree script is nothing like the Solaris command, which I miss in HP-UX
Kothari:
When done assign 0 to 10 points to all responses and close the thread, else, people will respond to it for years. Yes, it does happen.
Support Fatherhood - Stop Family Law
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2010 01:40 PM
тАО03-17-2010 01:40 PM
Re: shminfo - Shared memory info
I found a simple method using the unsupported HP tool "kmeminfo":
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=87967
Basically, just run "kmeminfo -shmem" and it spits out lots of info, including the PIDs currently attached.
-- Steve Bonds
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=87967
Basically, just run "kmeminfo -shmem
-- Steve Bonds
- « Previous
-
- 1
- 2
- Next »
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