<?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: explaination swapinfo output v./ memory usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/explaination-swapinfo-output-v-memory-usage/m-p/4137429#M317079</link>
    <description>Hi &lt;BR /&gt;&lt;BR /&gt;Run the following to know the Physical memory ( If PA-RISC )&lt;BR /&gt;&lt;BR /&gt;echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm | grep 'Total Configured'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;&lt;BR /&gt;Ramesh</description>
    <pubDate>Wed, 30 Jan 2008 09:55:29 GMT</pubDate>
    <dc:creator>Ramesh S</dc:creator>
    <dc:date>2008-01-30T09:55:29Z</dc:date>
    <item>
      <title>explaination swapinfo output v./ memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/explaination-swapinfo-output-v-memory-usage/m-p/4137425#M317075</link>
      <description>I am in two minds about swapinfo&lt;BR /&gt;&lt;BR /&gt;[orasrv4:/root]# swapinfo -a&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     2097152  321452 1775700   15%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       - 1216928 -1216928&lt;BR /&gt;memory  1548472 1079464  469008   70%&lt;BR /&gt;[orasrv4:/root]#&lt;BR /&gt;&lt;BR /&gt;There is dev , reserve and memory.&lt;BR /&gt;Am I right in assuming that memory is our system memory , or is it somethiingh else.&lt;BR /&gt;If not how do I check what my physical memory realy is and how much of it is used.&lt;BR /&gt;&lt;BR /&gt;Then the PCT used how do I interprete that ?&lt;BR /&gt;for both dev and memory.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jan 2008 08:09:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/explaination-swapinfo-output-v-memory-usage/m-p/4137425#M317075</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2008-01-30T08:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: explaination swapinfo output v./ memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/explaination-swapinfo-output-v-memory-usage/m-p/4137426#M317076</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Please go thru the following:&lt;BR /&gt;&lt;BR /&gt;Swapinfo Description &lt;BR /&gt;&lt;BR /&gt;Use 'swapinfo -tm' to get a complete/total picutre of swap usage (see below for example and details.)Â&amp;nbsp; Pay particular attention to the total line as it indicates how much swap space has been actually reseved for swap. When this percentage gets near 100%, rocesses will not start up (unable to fork process) and new shared memory segments can not be created.&lt;BR /&gt;swapinfo -tmÂ&amp;nbsp; example and explanation: &lt;BR /&gt;&lt;BR /&gt;Â&amp;nbsp;Â&amp;nbsp;Â&amp;nbsp;Â&amp;nbsp;Â&amp;nbsp;Â&amp;nbsp;Â&amp;nbsp;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        4096       0    4093    0%       0       -    1  /dev/vgroot/swap&lt;BR /&gt;reserve       -    1344   -1344&lt;BR /&gt;total      4096    1344    2749   33%       -       0    -&lt;BR /&gt;&lt;BR /&gt;dev line(s):&lt;BR /&gt;&lt;BR /&gt;are the actual physical swap device(s) &lt;BR /&gt;show if swapping has actually occurred. In other words, theÂ&amp;nbsp; PCT USED column in the dev lines represents the value last attained during a previous period of swapping. This is analogous to the high-water mark that a flood leaves. &lt;BR /&gt;to check to see if swapping is currently occuring, use 'vmstat -v 5 5' to see if the 'po' (page outs) is sustained above 0. &lt;BR /&gt;&lt;BR /&gt;reserve line(s)&lt;BR /&gt;&lt;BR /&gt;indicate how much of the swap device(s) has(have) been set aside for memory should it need to be swapped. &lt;BR /&gt;&lt;BR /&gt;memory line:&lt;BR /&gt;&lt;BR /&gt;indicative of how much of pseudo-swap has been reserved &lt;BR /&gt;when present, indicatesÂ&amp;nbsp; pseudo-swap is enabled Â&amp;nbsp; (i.e.Â&amp;nbsp; swapmem_on kernel paraemter is set to 1, whichÂ&amp;nbsp; is the default.) The size of pseudoswap is calculated to be 75% of the size of RAM (a.k.a. memory.)Â&amp;nbsp; In other words, it does not refer to acual physical memory use!!!!Â&amp;nbsp; Pseudo-swap was designed specifically for large memory systems for which acutal swapping is never (or rarely) expected to occur, so thereâ  s less need to use actual physical disk space for swap. For more information, seeÂ&amp;nbsp;swapmem_on(5) , which reads:&lt;BR /&gt;&lt;BR /&gt;In previous versions of HP-UX, system configuration required sufficient physical swap space for the maximum possible&lt;BR /&gt;number of processes on the system. This is because HP-UX reserves swap space for a process when it is created, to&lt;BR /&gt;ensure that a running process never needs to be killed due to insufficient swap.&lt;BR /&gt;This was difficult, however, for systems needing gigabytes of swap space with gigabytes of physical memory, and those&lt;BR /&gt;with workloads where the entire load would always be in core. This tunable was created to allow system swap space to&lt;BR /&gt;Â&amp;nbsp;be less than coreÂ&amp;nbsp; memory. To accomplish this, a portion of physical memory is set aside as 'pseudo-swap' space.&lt;BR /&gt;Â&amp;nbsp;While actual swap space is still available, processes still reserve all the swap they will need at fork or execute time from&lt;BR /&gt; the physical device or file system swap. Once this swap is completely used, new processes do not reserve swap, and&lt;BR /&gt;Â&amp;nbsp;each page which would have been swapped to the physical device or file system is instead locked in memory and&lt;BR /&gt;Â&amp;nbsp;counted as part of the pseudo-swap space. &lt;BR /&gt;total line: &lt;BR /&gt;Â&amp;nbsp;the PCT USED value shown in the total line indicates how much swap space has been actually reseved for swap. When this percentage gets near 100%, processes will not start up (unable to fork process) and new shared memory segments can not be created.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;&lt;BR /&gt;Ramesh</description>
      <pubDate>Wed, 30 Jan 2008 09:20:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/explaination-swapinfo-output-v-memory-usage/m-p/4137426#M317076</guid>
      <dc:creator>Ramesh S</dc:creator>
      <dc:date>2008-01-30T09:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: explaination swapinfo output v./ memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/explaination-swapinfo-output-v-memory-usage/m-p/4137427#M317077</link>
      <description>the memory is NOT the memory of your system:&lt;BR /&gt;pmem is a way to see howmatch mem you eraly are haging. &lt;BR /&gt;&lt;BR /&gt;-[root:/]# swapinfo -a                                                                                         &lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     1048576  116612  931964   11%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -  146268 -146268&lt;BR /&gt;memory   171428   92168   79260   54%&lt;BR /&gt;&lt;BR /&gt;[root:/]# pmem&lt;BR /&gt;256 MB&lt;BR /&gt;&lt;BR /&gt;you can alsow use the dmesg, after a reboot it will show someting like:&lt;BR /&gt;Memory Information:&lt;BR /&gt;    physical page size = 4096 bytes, logical page size = 4096 bytes&lt;BR /&gt;    Physical: 262144 Kbytes, lockable: 165892 Kbytes, available: 200104 Kbytes&lt;BR /&gt;&lt;BR /&gt;but because the info is limmeted in size it can be that it is overwritten&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jan 2008 09:29:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/explaination-swapinfo-output-v-memory-usage/m-p/4137427#M317077</guid>
      <dc:creator>F Verschuren</dc:creator>
      <dc:date>2008-01-30T09:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: explaination swapinfo output v./ memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/explaination-swapinfo-output-v-memory-usage/m-p/4137428#M317078</link>
      <description>Sorry, I get this&lt;BR /&gt;&lt;BR /&gt;[orasrv4:/root]# pmem&lt;BR /&gt;sh: pmem:  not found.&lt;BR /&gt;[orasrv4:/root]#&lt;BR /&gt;&lt;BR /&gt;And our dmesg is allready full with crap messages from filesystem full etc ..&lt;BR /&gt;So that info is gone.&lt;BR /&gt;&lt;BR /&gt;How can I get dmesg to reset or callback the original boot info that shows the memory ??</description>
      <pubDate>Wed, 30 Jan 2008 09:51:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/explaination-swapinfo-output-v-memory-usage/m-p/4137428#M317078</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2008-01-30T09:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: explaination swapinfo output v./ memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/explaination-swapinfo-output-v-memory-usage/m-p/4137429#M317079</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Run the following to know the Physical memory ( If PA-RISC )&lt;BR /&gt;&lt;BR /&gt;echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm | grep 'Total Configured'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;&lt;BR /&gt;Ramesh</description>
      <pubDate>Wed, 30 Jan 2008 09:55:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/explaination-swapinfo-output-v-memory-usage/m-p/4137429#M317079</guid>
      <dc:creator>Ramesh S</dc:creator>
      <dc:date>2008-01-30T09:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: explaination swapinfo output v./ memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/explaination-swapinfo-output-v-memory-usage/m-p/4137430#M317080</link>
      <description>Bonjour Frank,&lt;BR /&gt;&lt;BR /&gt;And to know physical memory (and cpu) under Itanium :&lt;BR /&gt;&lt;BR /&gt;--&amp;gt; machinfo&lt;BR /&gt;&lt;BR /&gt;You said : &lt;AND our="" dmesg="" is="" allready="" full="" with="" crap="" messages="" from="" filesystem="" full="" etc="" ..=""&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe you have configured root crontab with :&lt;BR /&gt;&lt;BR /&gt;05,15,25,35,45,55 * * * * /usr/sbin/dmesg - &amp;gt;&amp;gt;/var/adm/messages&lt;BR /&gt;&lt;BR /&gt;If so you will keep in /var/adm/messages all dmesg messages, from the boot of the system, even if you have many "crap messages".&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;ERic&lt;BR /&gt;&lt;BR /&gt;&lt;/AND&gt;</description>
      <pubDate>Wed, 30 Jan 2008 11:03:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/explaination-swapinfo-output-v-memory-usage/m-p/4137430#M317080</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2008-01-30T11:03:51Z</dc:date>
    </item>
  </channel>
</rss>

