<?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/3499645#M216375</link>
    <description>Cem&lt;BR /&gt;&lt;BR /&gt;Thanks for the explanation. It means if  pseudo swap configured, the same memroy is used for user process as well as for reserving ? &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sajeesh&lt;BR /&gt;</description>
    <pubDate>Tue, 08 Mar 2005 02:28:32 GMT</pubDate>
    <dc:creator>Sajeesh O.K</dc:creator>
    <dc:date>2005-03-08T02:28:32Z</dc:date>
    <item>
      <title>swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/3499640#M216370</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Please find the output of swapinfo in one of my server. &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       32768       0   24000    0%       0       -    1  /dev/vg00/lvol2 &lt;BR /&gt;reserve       -    9813   -9813                                             &lt;BR /&gt;memory    13135   10778    2357   82%                                       &lt;BR /&gt;total     45903   20591   16544   45%       -       0    -                  &lt;BR /&gt;Please look the Dev Swap Line.&lt;BR /&gt;Eventhough used is zero, Free column is showing only 24000 instead of 32768. &lt;BR /&gt;Any idea.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sajeesh&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Mar 2005 21:57:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/3499640#M216370</guid>
      <dc:creator>Sajeesh O.K</dc:creator>
      <dc:date>2005-03-07T21:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/3499641#M216371</link>
      <description>Hi Sajeesh,&lt;BR /&gt;&lt;BR /&gt;From the man pages of swapinfo:&lt;BR /&gt;&lt;BR /&gt;Mb FREE is the amount of space that can be used for future paging. Usually this is the diff. between Mb AVAIL and MB USED. There could be a diff. if some portion of a device paing area is unusable, perhaps because the size of the paing area is not a multiple of the allocation chunk size, or because the tunable parameter maxswapchunks is not set high enough.&lt;BR /&gt;&lt;BR /&gt;Hope that helps,&lt;BR /&gt;Regards,</description>
      <pubDate>Mon, 07 Mar 2005 22:14:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/3499641#M216371</guid>
      <dc:creator>Paul_481</dc:creator>
      <dc:date>2005-03-07T22:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/3499642#M216372</link>
      <description>Dear Sajeesh&lt;BR /&gt;&lt;BR /&gt;Please check your following kernel tunables&lt;BR /&gt;&lt;BR /&gt;maxswapchunks&lt;BR /&gt;swchunk&lt;BR /&gt;&lt;BR /&gt;Total swap the system can see is calculated as follows.&lt;BR /&gt;&lt;BR /&gt;maxswapchunks * swchunk * 1024 &lt;BR /&gt;&lt;BR /&gt;This value should be more than the device swap which you have configured.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Suraj</description>
      <pubDate>Tue, 08 Mar 2005 01:04:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/3499642#M216372</guid>
      <dc:creator>Suraj_2</dc:creator>
      <dc:date>2005-03-08T01:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/3499643#M216373</link>
      <description>Hi Sajeesh,&lt;BR /&gt;&lt;BR /&gt;By far, the simplest command to use to monitor swap on a 10.X and 11.X system&lt;BR /&gt;is swapinfo. With one command the system administrator can see how much swap is&lt;BR /&gt;configured, how much swap is being reserved for processes, or even how much&lt;BR /&gt;swap is being actively used for swapped processes. Here is an example :&lt;BR /&gt;&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         128     10      118   8%      0       -    1   /dev/vg00/lvol2&lt;BR /&gt;localfs      60      0       60   0%     60       0    4   /var/paging&lt;BR /&gt;reserve       -     52      -52&lt;BR /&gt;memory       91     68       23  75%&lt;BR /&gt;total       279    130      149  47%      -     0      -&lt;BR /&gt;&lt;BR /&gt;This output shows that device swap(dev), filesystem swap(localfs), and pseudo&lt;BR /&gt;swap(memory) are configured on this system. The first thing that I would like&lt;BR /&gt;to point out is the total line. From left to right, you can get a quick&lt;BR /&gt;reference of how swap is doing on this system. Under the Mb Avail column, it&lt;BR /&gt;shows that this system has a total of 279 megs of configured swap. Of the 279&lt;BR /&gt;megs configured, 130 megs are used for something. By that, I mean that the&lt;BR /&gt;total line does not show if swap is used for reservation or paging. With 130&lt;BR /&gt;megs being used for "something", that leaves a total of 149 megs of swap that&lt;BR /&gt;are not in use. The Pct Used column just shows a handy percentage of swap that&lt;BR /&gt;is already used.&lt;BR /&gt;&lt;BR /&gt;The "memory" line shows pseudo swap usage, and tends to be the most confusing of&lt;BR /&gt;all of the swapinfo output. As I documented before, pseudo swap is only used&lt;BR /&gt;for reserving a process. So from this example, there is a total of 91 megs of&lt;BR /&gt;pseudo swap configured, and of that 91 megs, 68 megs of pseudo swap are being&lt;BR /&gt;used by processes running in memory. The remainder of pseudo swap that it is&lt;BR /&gt;not used is 23 megs. One of the reasons why pseudo swap is so confusing is the&lt;BR /&gt;fact pseudo swap usage does not degrade system performance like device swap or&lt;BR /&gt;filesystem swap. In another words, system performance would be the same on a&lt;BR /&gt;system that had 3% or 99% percent of pseudo swap used.  It is usually&lt;BR /&gt;recommended that the "memory" line simpily be ignored when looking at swapinfo.&lt;BR /&gt;&lt;BR /&gt;The "reserve" line only deals with amount of swap we are using for reserving&lt;BR /&gt;processes in device and filesystem swap areas. From this example, we have a&lt;BR /&gt;total of 188 megs of combined device and filesystem swap and of that, only 52&lt;BR /&gt;megs are being used for reserving processes. Now if you take the total of megs&lt;BR /&gt;used by memory and reserve, we have 120(52+68) megs of swap allocated to&lt;BR /&gt;reserving space for active processes. So, from two lines, we have accounted for&lt;BR /&gt;about 92% of swap, which is being used only for reserve for running processes.&lt;BR /&gt;&lt;BR /&gt;The "localfs" line shows some information on much space the system will use&lt;BR /&gt;for filesystem swap that was configured on /var. An interesting thing&lt;BR /&gt;about that line is the priority of the swap, which is 4. This means that all&lt;BR /&gt;of device swap (/dev/vg00/lvol2), which is set to priority 1, will be used&lt;BR /&gt;before this filesystem swap area is used.&lt;BR /&gt;&lt;BR /&gt;The "dev" line is one of the most important pieces of information that the&lt;BR /&gt;swapinfo command can show. If the percent used line is greater that 0, then the&lt;BR /&gt;system is swapping. This is a clear sign that there is not enough physical ram&lt;BR /&gt;installed on the system. There are only two methods to make a system stop&lt;BR /&gt;swapping, the first is install more physical memory and the other is to reduce&lt;BR /&gt;the processes running on the system. The dev line that was used in this example&lt;BR /&gt;was altered to show what the output would look like if the system was paging.&lt;BR /&gt;It is unlikely that a system would page processes to the swap area if it still&lt;BR /&gt;had 149 megs of reserve space left.&lt;BR /&gt;&lt;BR /&gt;If you were interested in learning more about swap, I would suggest reading&lt;BR /&gt;through the memory managment white paper. This document is stored on the system&lt;BR /&gt;in /usr/shar/doc and is called mem_mgt.txt. There is also information about swap&lt;BR /&gt;from the system administration tasks manaul(10.x) and from the configuring&lt;BR /&gt;systems for work groups(11.x). Both manuals can be seen at :&lt;BR /&gt;&lt;A href="http://www.docs.hp.com." target="_blank"&gt;http://www.docs.hp.com.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this Helps,&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Mar 2005 01:40:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/3499643#M216373</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2005-03-08T01:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/3499644#M216374</link>
      <description>&lt;BR /&gt;Suraj, You are right. &lt;BR /&gt;&lt;BR /&gt;Cem, Thanks for the explanation.&lt;BR /&gt;&lt;BR /&gt;Sajeesh&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Mar 2005 02:20:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/3499644#M216374</guid>
      <dc:creator>Sajeesh O.K</dc:creator>
      <dc:date>2005-03-08T02:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/3499645#M216375</link>
      <description>Cem&lt;BR /&gt;&lt;BR /&gt;Thanks for the explanation. It means if  pseudo swap configured, the same memroy is used for user process as well as for reserving ? &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sajeesh&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Mar 2005 02:28:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo/m-p/3499645#M216375</guid>
      <dc:creator>Sajeesh O.K</dc:creator>
      <dc:date>2005-03-08T02:28:32Z</dc:date>
    </item>
  </channel>
</rss>

