<?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: usage of shared memory? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/usage-of-shared-memory/m-p/2966396#M119503</link>
    <description>Or obtain shminfo from:&lt;BR /&gt;ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/shminfo/</description>
    <pubDate>Tue, 06 May 2003 08:27:48 GMT</pubDate>
    <dc:creator>Zeev Schultz</dc:creator>
    <dc:date>2003-05-06T08:27:48Z</dc:date>
    <item>
      <title>usage of shared memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usage-of-shared-memory/m-p/2966392#M119499</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a machine wich sometime go's "sleeping".&lt;BR /&gt;I think it is a memory problem, because of paging activity.&lt;BR /&gt;&lt;BR /&gt;How can i detect the actual usage of shared memory ? ( is ipcs -ma the only way ?)&lt;BR /&gt;And second: Where in swapinfo output is the shared memory usage hidden?</description>
      <pubDate>Tue, 06 May 2003 08:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usage-of-shared-memory/m-p/2966392#M119499</guid>
      <dc:creator>usergroup.os.ux-3.4-iro</dc:creator>
      <dc:date>2003-05-06T08:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: usage of shared memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usage-of-shared-memory/m-p/2966393#M119500</link>
      <description>&lt;BR /&gt;To confirm you theory of paging activity then monitor if with;&lt;BR /&gt;&lt;BR /&gt;vmstat 1 100&lt;BR /&gt;&lt;BR /&gt;and look at the pi and po columns. If these are running &amp;gt;1 constantly then you are indeed paging and have run out of free memory.&lt;BR /&gt;&lt;BR /&gt;ipcs -ma shows what shared memory is allocated to what user/pid. It doesnt show how much of the allocated memory is actually being used. I dont believe you can easily work this out, you would need to attach to the shared memory segment and add up whats currently being used, not easy, and requires some C programming.&lt;BR /&gt;&lt;BR /&gt;swapinfo -mt   does include shared memory usage, its under the memory line in the USED column. Its listed here because shared memory is locked in memory - it cant be paged out, thus its listed as used becuase it cant be used for paging activity. However, all processes locked into memory are in this column, not only shared memory.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 May 2003 08:18:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usage-of-shared-memory/m-p/2966393#M119500</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-05-06T08:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: usage of shared memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usage-of-shared-memory/m-p/2966394#M119501</link>
      <description>swapinfo is all about paging/swapping.it doesn't care if it's shared or regular memory segment imho.ipcs -m -p + top (see resident memory sizes) or Glance should do the task.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;zeev.</description>
      <pubDate>Tue, 06 May 2003 08:20:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usage-of-shared-memory/m-p/2966394#M119501</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-05-06T08:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: usage of shared memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usage-of-shared-memory/m-p/2966395#M119502</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think the command 'ipcs -a -m' and Glance are the only ways to display the current shared memory usage.&lt;BR /&gt;&lt;BR /&gt;If you have a software contract with HP, please contact your local HP-Support-Center and ask for following utilities 'shminfo' and 'kmeminfo'. This unsupported tools display a lot more infos of shared memory usage.&lt;BR /&gt;&lt;BR /&gt;Like I know is there no option in 'swapinfo' about shared memory, you only get informations about swap space.&lt;BR /&gt;&lt;BR /&gt;Best regards ..&lt;BR /&gt;Armin</description>
      <pubDate>Tue, 06 May 2003 08:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usage-of-shared-memory/m-p/2966395#M119502</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2003-05-06T08:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: usage of shared memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usage-of-shared-memory/m-p/2966396#M119503</link>
      <description>Or obtain shminfo from:&lt;BR /&gt;ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/shminfo/</description>
      <pubDate>Tue, 06 May 2003 08:27:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usage-of-shared-memory/m-p/2966396#M119503</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-05-06T08:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: usage of shared memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usage-of-shared-memory/m-p/2966397#M119504</link>
      <description>Stefan,&lt;BR /&gt;  Shared memory is not always locked into memory.  A program with appropriate privileges can choose to lock it with shmctl(SHM_LOCK).  Perhaps you use a lot of programs that choose to do that.</description>
      <pubDate>Wed, 07 May 2003 14:02:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usage-of-shared-memory/m-p/2966397#M119504</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-05-07T14:02:36Z</dc:date>
    </item>
  </channel>
</rss>

