<?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 List of Processes attached to shared memory in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/list-of-processes-attached-to-shared-memory/m-p/2479673#M424</link>
    <description>I get the following output from "ipcs -mp"&lt;BR /&gt;&lt;BR /&gt;T      ID     KEY        MODE        OWNER     GROUP  CPID  LPID&lt;BR /&gt;...&lt;BR /&gt;m   63004 0x00000000 D-rw-r-----    oracle       dba  3919  4346&lt;BR /&gt;m       5 0x00000000 D-rw-r-----    oracle       dba  3919  4346&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;These segments look removed. However since some processes are attached to them, the system cannot remove them. The attached processes are not 3919, neither  4346. How can I find which process uses these segments?&lt;BR /&gt;&lt;BR /&gt;I was not able to find such an information in gpm or lsof...</description>
    <pubDate>Fri, 05 Jan 2001 09:02:43 GMT</pubDate>
    <dc:creator>Fedon Kadifeli</dc:creator>
    <dc:date>2001-01-05T09:02:43Z</dc:date>
    <item>
      <title>List of Processes attached to shared memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/list-of-processes-attached-to-shared-memory/m-p/2479673#M424</link>
      <description>I get the following output from "ipcs -mp"&lt;BR /&gt;&lt;BR /&gt;T      ID     KEY        MODE        OWNER     GROUP  CPID  LPID&lt;BR /&gt;...&lt;BR /&gt;m   63004 0x00000000 D-rw-r-----    oracle       dba  3919  4346&lt;BR /&gt;m       5 0x00000000 D-rw-r-----    oracle       dba  3919  4346&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;These segments look removed. However since some processes are attached to them, the system cannot remove them. The attached processes are not 3919, neither  4346. How can I find which process uses these segments?&lt;BR /&gt;&lt;BR /&gt;I was not able to find such an information in gpm or lsof...</description>
      <pubDate>Fri, 05 Jan 2001 09:02:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/list-of-processes-attached-to-shared-memory/m-p/2479673#M424</guid>
      <dc:creator>Fedon Kadifeli</dc:creator>
      <dc:date>2001-01-05T09:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: List of Processes attached to shared memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/list-of-processes-attached-to-shared-memory/m-p/2479674#M425</link>
      <description>The ipcrm command should be able to clean these out for you but I would make absolutely sure that Oracle is fully shutdown first.  A system reboot may be easier unless your system takes a lot of time to do this or there are some other critical functions running on the box.</description>
      <pubDate>Fri, 05 Jan 2001 18:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/list-of-processes-attached-to-shared-memory/m-p/2479674#M425</guid>
      <dc:creator>Tim Malnati</dc:creator>
      <dc:date>2001-01-05T18:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: List of Processes attached to shared memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/list-of-processes-attached-to-shared-memory/m-p/2479675#M426</link>
      <description>Hi Fedon,&lt;BR /&gt;   Use ipcs -am to know the owner and creator. Also do a "ps" on those processes and check if they are zombies. If they are then use ipcrm and remove them. If not then I dont think there is a way of knowing who is attached with out using q4.&lt;BR /&gt;&lt;BR /&gt;If you know oracle has been shutdown and these segemnts are left behind then you could use ipcrm to remove them.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Mon, 29 Jan 2001 04:04:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/list-of-processes-attached-to-shared-memory/m-p/2479675#M426</guid>
      <dc:creator>Navin Bhat</dc:creator>
      <dc:date>2001-01-29T04:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: List of Processes attached to shared memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/list-of-processes-attached-to-shared-memory/m-p/2479676#M427</link>
      <description>oops I ment something like q4 used in HP.</description>
      <pubDate>Mon, 29 Jan 2001 04:11:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/list-of-processes-attached-to-shared-memory/m-p/2479676#M427</guid>
      <dc:creator>Navin Bhat</dc:creator>
      <dc:date>2001-01-29T04:11:56Z</dc:date>
    </item>
  </channel>
</rss>

