- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: shminfo - Shared memory info
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
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
тАО12-08-2009 08:05 AM
тАО12-08-2009 08:05 AM
shminfo - Shared memory info
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2009 08:13 AM
тАО12-08-2009 08:13 AM
Re: shminfo - Shared memory info
shminfo comes from an internal group that provides in-depth support for HP-UX, there is no official download for it.
You can open a call and ask for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2009 08:29 AM
тАО12-08-2009 08:29 AM
Re: shminfo - Shared memory info
When you ipcs -mob the pid and ppid are reported.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2009 02:25 PM
тАО12-08-2009 02:25 PM
Re: shminfo - Shared memory info
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2009 02:43 PM
тАО12-08-2009 02:43 PM
Re: shminfo - Shared memory info
Better you ask with your vendor for your issue
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2009 04:00 PM
тАО12-08-2009 04:00 PM
Re: shminfo - Shared memory info
And there are ptree scripts. 'ptree' creates a tree scructure of spawned processess - attached
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2009 11:32 PM
тАО12-08-2009 11:32 PM
Re: shminfo - Shared memory info
(You need -a or -p, not -o or -b.)
But those PIDs may be good enough?
What is NATTCH, more than 1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2009 11:50 PM
тАО12-08-2009 11:50 PM
Re: shminfo - Shared memory info
You can also get a indented list with ps(1):
UNIX_95=EXTENDED_PS ps -H -ef
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2009 08:27 AM
тАО12-09-2009 08:27 AM
Re: shminfo - Shared memory info
The Nattach number is 3. So there are 3 processes attached. Therefore using ipcs -ma will not give me the list of processes attached to this shared memory segment. shminfo is only tool to my knowledge which can provide this information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2009 09:59 AM
тАО12-09-2009 09:59 AM
Re: shminfo - Shared memory info
"...The Nattach number is 3. So there are 3 processes attached..." - you got it. Also see the man page.
"...Therefore using ipcs -ma will not give me the list of processes attached to this shared memory segment..." - If nattach is 3, the one pid will be listed but not the other two.
"...shminfo is only tool to my knowledge which can provide this information...." - No. As stated, use ptree, pstat and other process analysis tools after you get the pid from ipcs -moba
I guess you're not familiar with ptree. Its been around 3 decades. Standard to Solaris and other BSD O/S versions of Unix.
- 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
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
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.
- 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
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=87967
Basically, just run "kmeminfo -shmem
-- Steve Bonds