<?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 ipcs ipcrm in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcs-ipcrm/m-p/2629340#M40688</link>
    <description>hello, &lt;BR /&gt;my user has one application which alocates some space in shared memory and if failed doesnt dealocate those space and  because this reason cannot be restarted. Is it posible to recognize this space with ipcs and release it with ipcrm command. Thanks. Hrvoje</description>
    <pubDate>Tue, 11 Dec 2001 14:12:58 GMT</pubDate>
    <dc:creator>Hrvoje Dubravica</dc:creator>
    <dc:date>2001-12-11T14:12:58Z</dc:date>
    <item>
      <title>ipcs ipcrm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcs-ipcrm/m-p/2629340#M40688</link>
      <description>hello, &lt;BR /&gt;my user has one application which alocates some space in shared memory and if failed doesnt dealocate those space and  because this reason cannot be restarted. Is it posible to recognize this space with ipcs and release it with ipcrm command. Thanks. Hrvoje</description>
      <pubDate>Tue, 11 Dec 2001 14:12:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipcs-ipcrm/m-p/2629340#M40688</guid>
      <dc:creator>Hrvoje Dubravica</dc:creator>
      <dc:date>2001-12-11T14:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: ipcs ipcrm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcs-ipcrm/m-p/2629341#M40689</link>
      <description>As long as nothing is still attached to it, you can do an ipcrm -m ID&lt;BR /&gt;&lt;BR /&gt;if you do an ipcs -m &lt;BR /&gt;&lt;BR /&gt;and look up the memory id, if there is a D in front of the address, that means there is something still attached and you cannot remove the shmem until that processes is killed</description>
      <pubDate>Tue, 11 Dec 2001 14:17:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipcs-ipcrm/m-p/2629341#M40689</guid>
      <dc:creator>Jeff Machols</dc:creator>
      <dc:date>2001-12-11T14:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: ipcs ipcrm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcs-ipcrm/m-p/2629342#M40690</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can find the unused memory with ipcs -ma .&lt;BR /&gt;If  NATTCH is 0, the memory isn't used anymore.&lt;BR /&gt;You can free it with ipcrm -m &lt;ID&gt;&lt;BR /&gt;&lt;BR /&gt;Fr??d??ric&lt;/ID&gt;</description>
      <pubDate>Tue, 11 Dec 2001 14:25:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipcs-ipcrm/m-p/2629342#M40690</guid>
      <dc:creator>Frederic Sevestre</dc:creator>
      <dc:date>2001-12-11T14:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: ipcs ipcrm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcs-ipcrm/m-p/2629343#M40691</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;ipcs -moba will display all the application with shared memory.&lt;BR /&gt;&lt;BR /&gt;you can release shared memeory those have 0 NATTACH by ipcrm -m followed by ID number of ipcs -moba output.&lt;BR /&gt;&lt;BR /&gt;-USA..&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Dec 2001 14:44:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipcs-ipcrm/m-p/2629343#M40691</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-12-11T14:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: ipcs ipcrm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipcs-ipcrm/m-p/2629344#M40692</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;here is an example:&lt;BR /&gt;&lt;BR /&gt;#ipcs -am                                                                                        &lt;BR /&gt;IPC status from /dev/kmem as of Tue Dec 11 10:01:29 2001&lt;BR /&gt;T      ID     KEY        MODE        OWNER     GROUP   CREATOR    CGROUP NATTCH  SEGSZ  CPID  LPID   ATIME    DTIME    CTIME &lt;BR /&gt;Shared Memory:&lt;BR /&gt;m       0 0x4118061a --rw-rw-rw-      root      root      root      root      0    348  2120  2120 12:06:28 12:06:28 12:06:21&lt;BR /&gt;m       1 0x4e0c0002 --rw-rw-rw-      root      root      root      root      1  31040  2120  2120 12:06:24 12:06:28 12:06:21&lt;BR /&gt;m       2 0x411c0774 --rw-rw-rw-      root      root      root      root      1   8192  2120  2132 12:06:24 12:06:21 12:06:21&lt;BR /&gt;m    5123 0x0c6629c9 --rw-r-----      root      root      root      root      2 23754620  2699 24610  3:27:09  3:27:40 12:07:07&lt;BR /&gt;m       4 0x06347849 --rw-rw-rw-      root      root      root      root      1  77384  2699  2742 12:07:17 12:07:07 12:07:07&lt;BR /&gt;m    2053 0xffffffff --rw-r--rw-      root      root      root      root      0  22908  2685  2685 12:07:14 12:07:14 12:07:14&lt;BR /&gt;m  612358 0x87380382 --rw-------  controlm  controlm  controlm  controlm      1 21475328 15019 15019 12:43:36 no-entry 12:43:36&lt;BR /&gt;m   46812 0x00000000 D-rw-------    oracle    oracle    oracle    oracle     18 8000008 20539 20640 15:00:28 no-entry 15:00:30&lt;BR /&gt;***&lt;BR /&gt;&lt;BR /&gt;  To remove a specific shared memory segment  do,&lt;BR /&gt;ipcrm -m &lt;ID&gt;  (second column)&lt;BR /&gt;&lt;BR /&gt;Be sure, before you do this!!&lt;BR /&gt;Check to see whether the NATTCH associated with the segment is 0.&lt;BR /&gt;&lt;BR /&gt;Also, if the first bit on the mode is D , then you wouldnt need to do ipcrm, since it is already  removed.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;raj&lt;/ID&gt;</description>
      <pubDate>Tue, 11 Dec 2001 15:08:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipcs-ipcrm/m-p/2629344#M40692</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-12-11T15:08:15Z</dc:date>
    </item>
  </channel>
</rss>

