<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: shminfo - Shared memory info in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546308#M370071</link>
    <description>ipcs -mob only reports the last process attached or detached to the shared memory segment. It does not list the current processes attached to the memory segment. I searched the forum for shminfo download and all of them points to ftp location which is no longer valid. I have asked our sysadmin to contact hp support to get this utility. However i was curious if it was already available in some other location.</description>
    <pubDate>Tue, 08 Dec 2009 22:25:57 GMT</pubDate>
    <dc:creator>KETANKUMAR KOTHARI</dc:creator>
    <dc:date>2009-12-08T22:25:57Z</dc:date>
    <item>
      <title>shminfo - Shared memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546305#M370068</link>
      <description>Where can I download this utility for HP*UX 11.11. I have a shared memory segment that is marked as D to delete (ipcs -ma), but is not getting released. I would like to know which processes are attached to this shared memory segment.</description>
      <pubDate>Tue, 08 Dec 2009 16:05:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546305#M370068</guid>
      <dc:creator>KETANKUMAR KOTHARI</dc:creator>
      <dc:date>2009-12-08T16:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: shminfo - Shared memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546306#M370069</link>
      <description>Hi,&lt;BR /&gt;shminfo comes from an internal group that provides in-depth support for HP-UX, there is no official download for it.&lt;BR /&gt;&lt;BR /&gt;You can open a call and ask for it.</description>
      <pubDate>Tue, 08 Dec 2009 16:13:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546306#M370069</guid>
      <dc:creator>Stephan.</dc:creator>
      <dc:date>2009-12-08T16:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: shminfo - Shared memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546307#M370070</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;When you ipcs -mob the pid and ppid are reported.</description>
      <pubDate>Tue, 08 Dec 2009 16:29:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546307#M370070</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-12-08T16:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: shminfo - Shared memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546308#M370071</link>
      <description>ipcs -mob only reports the last process attached or detached to the shared memory segment. It does not list the current processes attached to the memory segment. I searched the forum for shminfo download and all of them points to ftp location which is no longer valid. I have asked our sysadmin to contact hp support to get this utility. However i was curious if it was already available in some other location.</description>
      <pubDate>Tue, 08 Dec 2009 22:25:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546308#M370071</guid>
      <dc:creator>KETANKUMAR KOTHARI</dc:creator>
      <dc:date>2009-12-08T22:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: shminfo - Shared memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546309#M370072</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Better you ask with your vendor for your issue&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Tue, 08 Dec 2009 22:43:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546309#M370072</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-12-08T22:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: shminfo - Shared memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546310#M370073</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;And there are ptree scripts.  'ptree' creates a tree scructure of spawned processess - attached</description>
      <pubDate>Wed, 09 Dec 2009 00:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546310#M370073</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-12-09T00:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: shminfo - Shared memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546311#M370074</link>
      <description>&amp;gt;ipcs -mob only reports the last process attached or detached to the shared memory segment. It does not list the current processes attached to the memory segment.&lt;BR /&gt;&lt;BR /&gt;(You need -a or -p, not -o or -b.)&lt;BR /&gt;But those PIDs may be good enough?&lt;BR /&gt;What is NATTCH, more than 1?</description>
      <pubDate>Wed, 09 Dec 2009 07:32:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546311#M370074</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-12-09T07:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: shminfo - Shared memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546312#M370075</link>
      <description>&amp;gt;Michael: And there are ptree scripts.&lt;BR /&gt;&lt;BR /&gt;You can also get a indented list with ps(1):&lt;BR /&gt;UNIX_95=EXTENDED_PS ps -H -ef</description>
      <pubDate>Wed, 09 Dec 2009 07:50:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546312#M370075</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-12-09T07:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: shminfo - Shared memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546313#M370076</link>
      <description>Hi Dennis&lt;BR /&gt; 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.</description>
      <pubDate>Wed, 09 Dec 2009 16:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546313#M370076</guid>
      <dc:creator>KETANKUMAR KOTHARI</dc:creator>
      <dc:date>2009-12-09T16:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: shminfo - Shared memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546314#M370077</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;"...The Nattach number is 3. So there are 3 processes attached..." - you got it.  Also see the man page.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"...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.&lt;BR /&gt;&lt;BR /&gt;"...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&lt;BR /&gt;&lt;BR /&gt;I guess you're not familiar with ptree.  Its been around 3 decades.  Standard to Solaris and other BSD O/S versions of Unix.</description>
      <pubDate>Wed, 09 Dec 2009 17:59:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546314#M370077</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-12-09T17:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: shminfo - Shared memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546315#M370078</link>
      <description>&amp;gt;Therefore using ipcs -ma will not give me the list of processes attached to this shared memory segment.&lt;BR /&gt;&lt;BR /&gt;It may give one and that may give you a clue.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;shminfo is only tool to my knowledge which can provide this information.&lt;BR /&gt;&lt;BR /&gt;As Michael said, you can roll your own with pstat(2).&lt;BR /&gt;See attached.  Compile with:&lt;BR /&gt;cc itrc_ipc_mem_pids.c -D_PSTAT64&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Michael: use ptree, pstat and other process analysis tools after you get the pid from ipcs&lt;BR /&gt;&lt;BR /&gt;Which ptree?  Yours and HP-UX's doesn't do that.</description>
      <pubDate>Fri, 11 Dec 2009 00:38:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546315#M370078</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-12-11T00:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: shminfo - Shared memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546316#M370079</link>
      <description>Hi Dennis:&lt;BR /&gt;&lt;BR /&gt;I know, that ptree script is nothing like the Solaris command, which I miss in HP-UX&lt;BR /&gt;&lt;BR /&gt;Kothari:&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Fri, 11 Dec 2009 02:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546316#M370079</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-12-11T02:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: shminfo - Shared memory info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546317#M370080</link>
      <description>I found a simple method using the unsupported HP tool "kmeminfo":&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=87967" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=87967&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Basically, just run "kmeminfo -shmem &lt;SHARED memory="" id=""&gt;" and it spits out lots of info, including the PIDs currently attached.&lt;BR /&gt;&lt;BR /&gt;  -- Steve Bonds&lt;BR /&gt;&lt;/SHARED&gt;</description>
      <pubDate>Wed, 17 Mar 2010 20:40:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shminfo-shared-memory-info/m-p/4546317#M370080</guid>
      <dc:creator>Steve Bonds</dc:creator>
      <dc:date>2010-03-17T20:40:01Z</dc:date>
    </item>
  </channel>
</rss>

