<?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: Swapinfo in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529826#M368115</link>
    <description>The first thing you should do is to enable pseudo swap.  This will allow most of memory to be included in the swap total.  I assume this may be 50 Gb or more?  See swapmem_on(5).&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Can someone explain how the swap usage is 88% from the below command&lt;BR /&gt;&lt;BR /&gt;Obviously it is 87 Gb / 99 Gb.  :-)&lt;BR /&gt;The total is the sum of the device swap and pseudo swap.&lt;BR /&gt;The amount used is the sum of the device used (307) + reserved and pseudo swap used.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;PCT USED is 88%, which is calculated including reserve.&lt;BR /&gt;&lt;BR /&gt;Right.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Pseudo swap is part of memory&lt;BR /&gt;&lt;BR /&gt;Yes but you haven't enabled pseudo swap.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;If I need more swap space, I can use only 12% remaining?&lt;BR /&gt;&lt;BR /&gt;Yes, unless you add more swap space.  Or enable swapmem_on(5).&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Michael: 87272 / (40960 + 40960 + 17408) &lt;BR /&gt;&lt;BR /&gt;I assume the total is obvious but sen_ux wants to know how to compute the 87 Gb?&lt;BR /&gt;&lt;BR /&gt;You also need to consider pseudo swap, which is 0 in this misconfigured system.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;You ignore reserve swap because it is also known as Pseudo swap&lt;BR /&gt;&lt;BR /&gt;No you don't.  This is part of the total used.  And it isn't pseudo swap.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;swap reserved within device swap for every application and process startup. &lt;BR /&gt;&lt;BR /&gt;This fragment is correct.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Emil: Ignore the reserve line or memory line since that is based on pseudo swap.&lt;BR /&gt;&lt;BR /&gt;(You need to punctuate this better, otherwise you can read it wrong.)&lt;BR /&gt;&lt;BR /&gt;You can't ignore either, you have to understand what each means.  The simplest is to only look at the total.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Michael: you need to take a class about swap and paging&lt;BR /&gt;&lt;BR /&gt;You have made some misstatements too.</description>
    <pubDate>Mon, 09 Nov 2009 07:42:56 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-11-09T07:42:56Z</dc:date>
    <item>
      <title>Swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529817#M368106</link>
      <description>Can someone explain how the swap usage is 88% from the below command o/p.&lt;BR /&gt;&lt;BR /&gt;$ swapinfo -tam&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev       40960       0   40960    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev       40960     307   40653    1%       0       -    0  /dev/vg00/lvol13&lt;BR /&gt;dev       17408       0   17408    0%       0       -    1  /dev/vg00/lvol14&lt;BR /&gt;reserve       -   86965  -86965&lt;BR /&gt;total     99328   87272   12056   88%       -       0    -&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;Especially on the reserve.&lt;BR /&gt;From where it is getting reserved.? If it is from any of the dev swap, why the usage is not showing there.?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;sen</description>
      <pubDate>Sun, 08 Nov 2009 17:43:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529817#M368106</guid>
      <dc:creator>sen_ux</dc:creator>
      <dc:date>2009-11-08T17:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529818#M368107</link>
      <description>As per swapinfo man pages, 'reserve' is the amount of paging space that could be needed by processes that are currently running, but that has not yet been allocated from one of the paging areas.&lt;BR /&gt;&lt;BR /&gt;For device paging areas, this value is always ``â  ''. For file system paging areas, this value is the number of 1-Kbyte blocks reserved for file system use by ordinary users, the same as the reserve value given to swapon.&lt;BR /&gt;&lt;BR /&gt;It is from the dev swap specified. When a process is created, or requests additional space, space is reserved for it by increasing the space shown on the reserve line. When paging activity actually occurs, space is used in one of the paging areas (the one with the lowest priority number that has free space available, already allocated), and that space will be shown as used in that area</description>
      <pubDate>Sun, 08 Nov 2009 18:13:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529818#M368107</guid>
      <dc:creator>Viveki</dc:creator>
      <dc:date>2009-11-08T18:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529819#M368108</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;( 40960 + 40960 + 17408 ) / 87272&lt;BR /&gt;( 99328 ) / 87272&lt;BR /&gt;88%&lt;BR /&gt;&lt;BR /&gt;You only use device swap to calculate the totals.&lt;BR /&gt;&lt;BR /&gt;You ignore reserve swap because it is also known as Pseudo swap, or, swap reserved within device swap for every application and process startup.&lt;BR /&gt;&lt;BR /&gt;See attached or link&lt;BR /&gt;"Copyrighted document deleted"&lt;BR /&gt;C:\Users\MFS\Documents\HP-UX\Understanding HP-UX swap reservation and allocation.htm</description>
      <pubDate>Sun, 08 Nov 2009 18:17:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529819#M368108</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-11-08T18:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529820#M368109</link>
      <description>Hi Michael,&lt;BR /&gt;&lt;BR /&gt;PCT USED is 88%, which is calculated including 'reserve'. Psuedo swap is part of memory and this reserve is from the swap device itself. Correct me if i m wrong.And i think that can not be ignored. If I need more swap space, i can use only 12% remaining.?&lt;BR /&gt;Does the above output show that configured swap space is less.?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sun, 08 Nov 2009 19:43:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529820#M368109</guid>
      <dc:creator>sen_ux</dc:creator>
      <dc:date>2009-11-08T19:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529821#M368110</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;"...reserve swap because it is also known as Pseudo swap, or, swap reserved within device swap..."&lt;BR /&gt;&lt;BR /&gt;within device swap&lt;BR /&gt;&lt;BR /&gt;So you'd be counting it twice if you used your formula.&lt;BR /&gt;&lt;BR /&gt;Read the attachement.</description>
      <pubDate>Sun, 08 Nov 2009 20:30:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529821#M368110</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-11-08T20:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529822#M368111</link>
      <description>you can check this for pseudo swap:&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1370835" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1370835&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1369232" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1369232&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1365916" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1365916&lt;/A&gt;</description>
      <pubDate>Sun, 08 Nov 2009 22:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529822#M368111</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2009-11-08T22:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529823#M368112</link>
      <description>&lt;BR /&gt;You are barely using any swap. It looks like you have 92 GB of memory on the system and at some time you filled up memory and did some paging since you used a little space 300MB on your priority 0 device swap.  Evidently there is no paging pressure now and those processes that paged out pages are still running since they did not release the swap space.&lt;BR /&gt;&lt;BR /&gt;Bottom line you are not using much real swap right now.  It seems like you are using all of your memory.&lt;BR /&gt;&lt;BR /&gt;Ignore the reserve line or memory line since that is based on pseudo swap.    There are a myriad of documents that describe pseudo swap.  I suggest that you read them for clarification.&lt;BR /&gt;&lt;BR /&gt;GOod luck.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Nov 2009 00:02:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529823#M368112</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2009-11-09T00:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529824#M368113</link>
      <description>Hi and Uhhh,&lt;BR /&gt;&lt;BR /&gt;Please disregard the above comment, you are using&lt;BR /&gt;&lt;BR /&gt;AVAIL USED FREE&lt;BR /&gt;99328 87272 12056 -or- 88% capcity ...&lt;BR /&gt;&lt;BR /&gt;...and ALMOST OUT OF SWAP - IN FACT, YOU SHOULD ADD SOME RIGHT AWAY</description>
      <pubDate>Mon, 09 Nov 2009 00:37:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529824#M368113</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-11-09T00:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529825#M368114</link>
      <description>Emil&lt;BR /&gt;&lt;BR /&gt;you need to take a class about swap and paging.  you should not be answering questions about either</description>
      <pubDate>Mon, 09 Nov 2009 00:41:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529825#M368114</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-11-09T00:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529826#M368115</link>
      <description>The first thing you should do is to enable pseudo swap.  This will allow most of memory to be included in the swap total.  I assume this may be 50 Gb or more?  See swapmem_on(5).&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Can someone explain how the swap usage is 88% from the below command&lt;BR /&gt;&lt;BR /&gt;Obviously it is 87 Gb / 99 Gb.  :-)&lt;BR /&gt;The total is the sum of the device swap and pseudo swap.&lt;BR /&gt;The amount used is the sum of the device used (307) + reserved and pseudo swap used.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;PCT USED is 88%, which is calculated including reserve.&lt;BR /&gt;&lt;BR /&gt;Right.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Pseudo swap is part of memory&lt;BR /&gt;&lt;BR /&gt;Yes but you haven't enabled pseudo swap.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;If I need more swap space, I can use only 12% remaining?&lt;BR /&gt;&lt;BR /&gt;Yes, unless you add more swap space.  Or enable swapmem_on(5).&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Michael: 87272 / (40960 + 40960 + 17408) &lt;BR /&gt;&lt;BR /&gt;I assume the total is obvious but sen_ux wants to know how to compute the 87 Gb?&lt;BR /&gt;&lt;BR /&gt;You also need to consider pseudo swap, which is 0 in this misconfigured system.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;You ignore reserve swap because it is also known as Pseudo swap&lt;BR /&gt;&lt;BR /&gt;No you don't.  This is part of the total used.  And it isn't pseudo swap.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;swap reserved within device swap for every application and process startup. &lt;BR /&gt;&lt;BR /&gt;This fragment is correct.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Emil: Ignore the reserve line or memory line since that is based on pseudo swap.&lt;BR /&gt;&lt;BR /&gt;(You need to punctuate this better, otherwise you can read it wrong.)&lt;BR /&gt;&lt;BR /&gt;You can't ignore either, you have to understand what each means.  The simplest is to only look at the total.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Michael: you need to take a class about swap and paging&lt;BR /&gt;&lt;BR /&gt;You have made some misstatements too.</description>
      <pubDate>Mon, 09 Nov 2009 07:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529826#M368115</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-11-09T07:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529827#M368116</link>
      <description>Dennis&lt;BR /&gt;&lt;BR /&gt;Ah, sorry, no I didn't.</description>
      <pubDate>Mon, 09 Nov 2009 10:00:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/4529827#M368116</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-11-09T10:00:39Z</dc:date>
    </item>
  </channel>
</rss>

