<?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: ipcrm query in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220836#M466784</link>
    <description>Thanks all</description>
    <pubDate>Thu, 21 Jan 2010 17:16:47 GMT</pubDate>
    <dc:creator>kpatel786</dc:creator>
    <dc:date>2010-01-21T17:16:47Z</dc:date>
    <item>
      <title>ipcrm query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220830#M466778</link>
      <description>(hqs) [SU] # ipcs|grep 0x0000000&lt;BR /&gt;m  125763594 0x00000000 --rw-r-----    oracle       dba&lt;BR /&gt;m     294923 0x00000000 --rw-r-----    oracle       dba&lt;BR /&gt;m     294924 0x00000000 --rw-r-----    oracle       dba&lt;BR /&gt;m    3866640 0x00000000 --rw-------      root      root&lt;BR /&gt;m   61472785 0x00000000 --rw-------      root      root&lt;BR /&gt;s       1573 0x00000000 --ra-------      root      root&lt;BR /&gt;s       1318 0x00000000 --ra-------      root      root&lt;BR /&gt;&lt;BR /&gt;I have below queries:&lt;BR /&gt;&lt;BR /&gt;1) Can I do ipcrm on the above process. &lt;BR /&gt;2) Will there be any issue if they are attached to any other process. &lt;BR /&gt;3) Will these release memory,cpu after they are killed.&lt;BR /&gt;&lt;BR /&gt;Thanking you in advance.</description>
      <pubDate>Thu, 21 Jan 2010 15:54:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220830#M466778</guid>
      <dc:creator>kpatel786</dc:creator>
      <dc:date>2010-01-21T15:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: ipcrm query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220831#M466779</link>
      <description>If you run "ipcs -ma" you'll get a few additional columns, including the CPID and LPID of the memory segments in question.&lt;BR /&gt;&lt;BR /&gt;The CPID is the creator of the segment, and the LPID is the last process to attach to the segment. A segment can be deleted and zero-size, but still attached.  If you persuade the attached process to detach, by killing it or some other method, then you'd be able to remove the memory segment - or it would disappear once the last detach is complete.</description>
      <pubDate>Thu, 21 Jan 2010 16:12:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220831#M466779</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2010-01-21T16:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: ipcrm query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220832#M466780</link>
      <description>Almost forgot - the ipcs -ma will also show you the SEGSZ column which will indicate how much memory will be released upon remove/detach. For removed but not yet detached segments (with attached processes still running) this will be zero.</description>
      <pubDate>Thu, 21 Jan 2010 16:13:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220832#M466780</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2010-01-21T16:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: ipcrm query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220833#M466781</link>
      <description>(hqs) [SU] # ipcs -ma |grep 0x0000000&lt;BR /&gt;m  125763594 0x00000000 --rw-r-----    oracle       dba    oracle       dba     43 1073741824 14590  3688 16:13:15 16:13:15 23:14:57&lt;BR /&gt;m     294923 0x00000000 --rw-r-----    oracle       dba    oracle       dba     43 1073741824 14590  3688 16:13:15 16:13:15 23:14:57&lt;BR /&gt;m     294924 0x00000000 --rw-r-----    oracle       dba    oracle       dba     43 1073741824 14590  3688 16:13:15 16:13:15 23:14:57&lt;BR /&gt;m    3866640 0x00000000 --rw-------      root      root      root      root      2     159804 15083 15112 16:10:43 no-entry 16:10:43&lt;BR /&gt;m   61472785 0x00000000 --rw-------      root      root      root      root      2     159804  5557  5633 12:38:47 no-entry 12:38:47&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Above is the output. Could you please confirm if the same can be deleted.</description>
      <pubDate>Thu, 21 Jan 2010 16:14:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220833#M466781</guid>
      <dc:creator>kpatel786</dc:creator>
      <dc:date>2010-01-21T16:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: ipcrm query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220834#M466782</link>
      <description>That output indicates that the Oracle segments each have 43 processes attached to them, and they're each one gigabyte in size. I assume this is probably fairly normal for an Oracle database.&lt;BR /&gt;&lt;BR /&gt;They were all created by pid 14590, and last attached by 3688, which are undoubtedly Oracle database service processes.&lt;BR /&gt;&lt;BR /&gt;If your Oracle database is online, which is likely to be the case considering that there's 43 processes attached to each segment, then no, you won't be able to delete the segments without damaging the operation of the Oracle database - it'd probably crash pretty hard, knowing Oracle.&lt;BR /&gt;&lt;BR /&gt;The root shared memory segments are only 156k in size, and are a normal part of the system operation - perhaps network buffers or the like? Those shouldn't be deleted either.</description>
      <pubDate>Thu, 21 Jan 2010 16:26:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220834#M466782</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2010-01-21T16:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: ipcrm query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220835#M466783</link>
      <description>Thanks for explaining in detail.</description>
      <pubDate>Thu, 21 Jan 2010 17:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220835#M466783</guid>
      <dc:creator>kpatel786</dc:creator>
      <dc:date>2010-01-21T17:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: ipcrm query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220836#M466784</link>
      <description>Thanks all</description>
      <pubDate>Thu, 21 Jan 2010 17:16:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipcrm-query/m-p/5220836#M466784</guid>
      <dc:creator>kpatel786</dc:creator>
      <dc:date>2010-01-21T17:16:47Z</dc:date>
    </item>
  </channel>
</rss>

