<?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: How to see total memory usage.. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164255#M320345</link>
    <description>Hi Arun,&lt;BR /&gt;&lt;BR /&gt;Don is right. You cannot see the line memory in swapinfo -tam because of swapmem_on is not set to 1 on kernel.&lt;BR /&gt;Unfortunately you have to reboot the system to enable that when changing swapmem_on to 1.&lt;BR /&gt;Also pay attention that line "memory" in swapinfo output is not the "main memory", this is a (explainable) common mistake.&lt;BR /&gt;From man swapinfo:&lt;BR /&gt;&lt;BR /&gt;                  memory     Memory paging area (also known as pseudo-swap).&lt;BR /&gt;                             This is the amount of system memory that can be&lt;BR /&gt;                             used to hold pages in the event that all of the&lt;BR /&gt;                             above paging areas are used up.  See "Paging&lt;BR /&gt;                             Allocation" below.  This line appears only if&lt;BR /&gt;                             memory paging is enabled.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
    <pubDate>Wed, 19 Mar 2008 10:31:18 GMT</pubDate>
    <dc:creator>Fabio Ettore</dc:creator>
    <dc:date>2008-03-19T10:31:18Z</dc:date>
    <item>
      <title>How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164243#M320333</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;I have 8 Gb main memory and 9 GB (4+5) memory in swap, 17 Gb in total. Now the problem is when I run "swapinfo -tam", it shows only memory usage by swap space but it doesn't include main memory.&lt;BR /&gt;while in other servers it shows main memory also.&lt;BR /&gt;now tell what is the reason and how can I check total memory usage in that server.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Arun Jain</description>
      <pubDate>Wed, 19 Mar 2008 09:22:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164243#M320333</guid>
      <dc:creator>Arun Jain</dc:creator>
      <dc:date>2008-03-19T09:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164244#M320334</link>
      <description>which HP-UX version</description>
      <pubDate>Wed, 19 Mar 2008 09:28:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164244#M320334</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2008-03-19T09:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164245#M320335</link>
      <description>HP-UX B.11.00&lt;BR /&gt;&lt;BR /&gt;but other servers contain either B.11.11 or B.11.23</description>
      <pubDate>Wed, 19 Mar 2008 09:31:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164245#M320335</guid>
      <dc:creator>Arun Jain</dc:creator>
      <dc:date>2008-03-19T09:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164246#M320336</link>
      <description>&lt;!--!*#--&gt;hi Arun,&lt;BR /&gt;&lt;BR /&gt;try:&lt;BR /&gt;glance -m&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;CPU  Util   S                                                  |  1%    2%    4%&lt;BR /&gt;Disk Util   F                                                  |  2%    1%    2%&lt;BR /&gt;Mem  Util   S   SU UB B                                        | 19%   19%   19%&lt;BR /&gt;Swap Util   URR                                                |  5%    5%    5%&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;                                 MEMORY REPORT                      Users=    2&lt;BR /&gt;Event         Current   Cumulative   Current Rate   Cum Rate   High Rate&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;Page Faults       111          169        24.6       28.6        41.4&lt;BR /&gt;Page In            28           52         6.2        8.8        17.1&lt;BR /&gt;Page Out            0            0         0.0        0.0         0.0&lt;BR /&gt;KB Paged In       0kb          0kb         0.0        0.0         0.0&lt;BR /&gt;KB Paged Out      0kb          0kb         0.0        0.0         0.0&lt;BR /&gt;Reactivations       0            0         0.0        0.0         0.0&lt;BR /&gt;Deactivations       0            0         0.0        0.0         0.0&lt;BR /&gt;KB Deactivated    0kb          0kb         0.0        0.0         0.0&lt;BR /&gt;VM Reads            0            0         0.0        0.0         0.0&lt;BR /&gt;VM Writes           0            0         0.0        0.0         0.0&lt;BR /&gt;&lt;BR /&gt;Total VM :  1.20gb   Sys Mem  : 728.8mb   User Mem: 451.6mb   Phys Mem:  8.00gb&lt;BR /&gt;Active VM:  1.03gb   Buf Cache: 409.6mb   Free Mem:  6.45gb         Page 1 of 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 19 Mar 2008 09:41:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164246#M320336</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-03-19T09:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164247#M320337</link>
      <description>Hi yogeeraj,&lt;BR /&gt;&lt;BR /&gt;thanks for the help but glance version is expired in the system.&lt;BR /&gt;&lt;BR /&gt;is there any other method, then plz suggest.&lt;BR /&gt;&lt;BR /&gt;Regards:&lt;BR /&gt;Arun</description>
      <pubDate>Wed, 19 Mar 2008 09:46:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164247#M320337</guid>
      <dc:creator>Arun Jain</dc:creator>
      <dc:date>2008-03-19T09:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164248#M320338</link>
      <description>&lt;!--!*#--&gt;hi again,&lt;BR /&gt;&lt;BR /&gt;try sam &lt;BR /&gt;&lt;BR /&gt;SAM Areas:Performance Monitors -&amp;gt; System Properties&lt;BR /&gt;&lt;BR /&gt;and go to the Memory tab to get the details as in below:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;Physical Memory:         8199.3 MB&lt;BR /&gt;Real Memory:&lt;BR /&gt;  Active:                178900.2 KB&lt;BR /&gt;  Total:                 436055.3 KB&lt;BR /&gt;Virtual Memory:&lt;BR /&gt;  Active:                933137.9 KB&lt;BR /&gt;  Total:                 1272954.1 KB&lt;BR /&gt;Free Memory Pages:       1689926 at 4 KB/page&lt;BR /&gt;Swap Space:&lt;BR /&gt;  Avail:                 10240 MB&lt;BR /&gt;  Used:                  477 MB&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 19 Mar 2008 09:50:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164248#M320338</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-03-19T09:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164249#M320339</link>
      <description>If you're saying that swapinfo only shows device, Filesystem, reserve and total lines it sounds like this server doesn't have swapmem_on set.</description>
      <pubDate>Wed, 19 Mar 2008 09:52:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164249#M320339</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2008-03-19T09:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164250#M320340</link>
      <description>Hi Don Morris,&lt;BR /&gt;&lt;BR /&gt;yes, you are right, "swapmem_on" parameter is not set. But for that I have to restart the server which I can't do.&lt;BR /&gt;&lt;BR /&gt;Regards:&lt;BR /&gt;Arun</description>
      <pubDate>Wed, 19 Mar 2008 09:59:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164250#M320340</guid>
      <dc:creator>Arun Jain</dc:creator>
      <dc:date>2008-03-19T09:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164251#M320341</link>
      <description>Hi yogeeraj,&lt;BR /&gt;&lt;BR /&gt;this one also cant solve the problem as it gives absolute data, but I want the same data in percentage.&lt;BR /&gt;&lt;BR /&gt;Regards:&lt;BR /&gt;Arun</description>
      <pubDate>Wed, 19 Mar 2008 10:02:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164251#M320341</guid>
      <dc:creator>Arun Jain</dc:creator>
      <dc:date>2008-03-19T10:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164252#M320342</link>
      <description>&lt;!--!*#--&gt;hi again,&lt;BR /&gt;&lt;BR /&gt;have a look at the following URL:&lt;BR /&gt;&lt;A href="ftp://hprc.external.hp.com/memory.htm#kmeminfo" target="_blank"&gt;ftp://hprc.external.hp.com/memory.htm#kmeminfo&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kmeminfo utility displays the information in the format below:&lt;BR /&gt;&lt;BR /&gt;# ./kmeminfo &lt;BR /&gt;tool: kmeminfo 7.02&lt;BR /&gt;unix: /stand/vmunix 11.11 64bit PA2.0 on "my.box.com"&lt;BR /&gt;core: /dev/kmem live&lt;BR /&gt;link: Wed Feb 1 07:45:48 PST 2006&lt;BR /&gt;boot: Sat Apr 28 17:36:56 2007&lt;BR /&gt;time: Thu May 3 08:37:33 2007&lt;BR /&gt;nbpg: 4096 bytes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;Physical memory usage summary (in page/byte/percent):&lt;BR /&gt;&lt;BR /&gt;Physical memory = 5242880 20.0g 100% &lt;BR /&gt;Free memory = 537474 2.1g 10% &lt;BR /&gt;User processes = 4008776 15.3g 76% details with -user&lt;BR /&gt;System = 683688 2.6g 13% &lt;BR /&gt;Kernel = 421544 1.6g 8% kernel text and data&lt;BR /&gt;Dynamic Arenas = 96880 378.4m 2% details with -arena&lt;BR /&gt;M_TEMP = 43860 171.3m 1% &lt;BR /&gt;VFD_BT_NODE = 15210 59.4m 0% &lt;BR /&gt;M_SPINLOCK = 7245 28.3m 0% &lt;BR /&gt;KMEM_ALLOC = 5432 21.2m 0% &lt;BR /&gt;ALLOCB_MBLK_LM = 2813 11.0m 0% &lt;BR /&gt;Other arenas = 22320 87.2m 0% details with -arena&lt;BR /&gt;Super page pool = 7021 27.4m 0% details with -kas&lt;BR /&gt;Static Tables = 263990 1.0g 5% details with -static&lt;BR /&gt;pfdat = 119481 466.7m 2% &lt;BR /&gt;htbl2_0 = 65536 256.0m 1% &lt;BR /&gt;nbuf = 21024 82.1m 0% bufcache headers&lt;BR /&gt;bufhash = 20480 80.0m 0% bufcache hash headers&lt;BR /&gt;pfn_to_virt = 19913 77.8m 0% &lt;BR /&gt;Other tables = 17555 68.6m 0% details with -static&lt;BR /&gt;Buffer cache = 262144 1.0g 5% details with -bufcache&lt;BR /&gt;UFC file mrg = 0 0.0b 0% &lt;BR /&gt;UFC meta mrg = 0 0.0b 0% &lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 19 Mar 2008 10:17:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164252#M320342</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-03-19T10:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164253#M320343</link>
      <description>&lt;!--!*#--&gt;hi again,&lt;BR /&gt;&lt;BR /&gt;am attaching the utility which you can install and run to get the output as below:&lt;BR /&gt;&lt;BR /&gt;SRV2:tmp&amp;gt;sh 267829.bin&lt;BR /&gt;Running install script : ./kmeminfo.install kmeminfo a 1&lt;BR /&gt;SRV2:tmp&amp;gt;kmeminfo&lt;BR /&gt;sh: kmeminfo:  not found.&lt;BR /&gt;SRV2:tmp&amp;gt;./kmeminfo&lt;BR /&gt;Kernel TEXT pages not requested in crashconf&lt;BR /&gt;Will use an artificial mapping from a.out TEXT pages&lt;BR /&gt;kmeminfo (4.17)&lt;BR /&gt;unix: /stand/vmunix 11.11 64bit PA2.0&lt;BR /&gt;core: /dev/kmem live&lt;BR /&gt;link: Fri Oct 5 16:17:34 MRU 2007&lt;BR /&gt;boot: Tue Feb 19 09:28:50 2008&lt;BR /&gt;dump: Wed Mar 19 15:22:03 2008&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;Pfdat processing:&lt;BR /&gt;&lt;BR /&gt;Scanning 2042349 pfdat entries (be patient) ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;Physical memory usage summary (in page/byte/percent):&lt;BR /&gt;&lt;BR /&gt;Physmem             =  2097152    8.0g 100%  Physical memory&lt;BR /&gt;  Freemem           =  1688740    6.4g  81%  Free physical memory&lt;BR /&gt;  Used              =   408412    1.6g  19%  Used physical memory&lt;BR /&gt;    System          =   295412    1.1g  14%  By kernel:&lt;BR /&gt;      text          =     2542    9.9m   0%   text&lt;BR /&gt;      data          =      477    1.9m   0%   data&lt;BR /&gt;      bss           =     1152    4.5m   0%   bss&lt;BR /&gt;      Static        =   102869  401.8m   5%   for text/static data&lt;BR /&gt;      Dynamic       =    83461  326.0m   4%   for dynamic data&lt;BR /&gt;      Bufcache      =   104857  409.6m   5%   for buffer cache&lt;BR /&gt;      Eqmem         =       47  188.0k   0%   for equiv. mapped memory&lt;BR /&gt;      SCmem         =     4178   16.3m   0%   for critical memory&lt;BR /&gt;    User            =   117176  457.7m   6%  By user processes:&lt;BR /&gt;      Uarea         =     4976   19.4m   0%   for thread uareas&lt;BR /&gt;    Disowned        =        8   32.0k   0%  Disowned pages&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;Kernel dynamic memory usage (in page/byte/percent):&lt;BR /&gt;&lt;BR /&gt;Physmem             =  2097152    8.0g 100%  Physical memory&lt;BR /&gt;Freemem             =  1688740    6.4g  81%  Free memory&lt;BR /&gt;Used                =   408412    1.6g  19%  Used memory&lt;BR /&gt;Dynamic             =    83461  326.0m   4%  Kernel dynamic memory&lt;BR /&gt;  Arenas            =    63646  248.6m   3%  Kernel arenas&lt;BR /&gt;    M_TEMP          =    40576  158.5m   2%&lt;BR /&gt;    M_SWAP          =     5344   20.9m   0%&lt;BR /&gt;    M_SPINLOCK      =     3928   15.3m   0%&lt;BR /&gt;    M_NFS_GEN       =     1707    6.7m   0%&lt;BR /&gt;    ALLOCB_MBLK_LM  =     1498    5.9m   0%&lt;BR /&gt;    KMEM_ALLOC      =     1413    5.5m   0%&lt;BR /&gt;    M_VXVM          =     1368    5.3m   0%&lt;BR /&gt;    ALLOCB_MBLK_DA  =      776    3.0m   0%&lt;BR /&gt;    M_KTHREAD       =      637    2.5m   0%&lt;BR /&gt;    M_REG           =      629    2.5m   0%&lt;BR /&gt;    VFD_BT_NODE     =      577    2.3m   0%&lt;BR /&gt;    M_PREG          =      573    2.2m   0%&lt;BR /&gt;    M_IOSYS         =      568    2.2m   0%&lt;BR /&gt;    VM MISC ARENA   =      517    2.0m   0%&lt;BR /&gt;    ALLOCB_MBLK_SM  =      329    1.3m   0%&lt;BR /&gt;    Other           =     3206   12.5m   0%  Other arenas...&lt;BR /&gt;  Kalloc            =    19781   77.3m   1%  kalloc()&lt;BR /&gt;    SuperPagePool   =     5016   19.6m   0%    Kernel superpage cache&lt;BR /&gt;    BufcacheBufs    =     8304   32.4m   0%    Buffer cache bufs&lt;BR /&gt;    BufcacheHash    =     5120   20.0m   0%    Buffer cache hash heads&lt;BR /&gt;    Other           =     1341    5.2m   0%    Other...&lt;BR /&gt;  Eqalloc           =       34  136.0k   0%  eqalloc()&lt;BR /&gt;SRV2:tmp&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 19 Mar 2008 10:25:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164253#M320343</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-03-19T10:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164254#M320344</link>
      <description>attachment</description>
      <pubDate>Wed, 19 Mar 2008 10:27:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164254#M320344</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-03-19T10:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164255#M320345</link>
      <description>Hi Arun,&lt;BR /&gt;&lt;BR /&gt;Don is right. You cannot see the line memory in swapinfo -tam because of swapmem_on is not set to 1 on kernel.&lt;BR /&gt;Unfortunately you have to reboot the system to enable that when changing swapmem_on to 1.&lt;BR /&gt;Also pay attention that line "memory" in swapinfo output is not the "main memory", this is a (explainable) common mistake.&lt;BR /&gt;From man swapinfo:&lt;BR /&gt;&lt;BR /&gt;                  memory     Memory paging area (also known as pseudo-swap).&lt;BR /&gt;                             This is the amount of system memory that can be&lt;BR /&gt;                             used to hold pages in the event that all of the&lt;BR /&gt;                             above paging areas are used up.  See "Paging&lt;BR /&gt;                             Allocation" below.  This line appears only if&lt;BR /&gt;                             memory paging is enabled.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Wed, 19 Mar 2008 10:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164255#M320345</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2008-03-19T10:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164256#M320346</link>
      <description>&amp;gt;&amp;gt; this one also cant solve the problem as it gives absolute data, but I want the same data in percentage.&lt;BR /&gt;&lt;BR /&gt;74% of the responses to your posts have not been assigned points.&lt;BR /&gt;&lt;BR /&gt;Grins,&lt;BR /&gt;Hein. (0 points for this please)&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Mar 2008 10:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164256#M320346</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-03-19T10:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164257#M320347</link>
      <description>kmeminfo here verges on using a sledgehammer to swat a fly (and opens up a lot of questions on things you can't do anything about anyway, like why a particular kernel arena is using a certain amount of memory). Plus you have to be confident that you're using an appropriate version of kmeminfo, have sufficient privilege to read kernel memory, etc.&lt;BR /&gt;&lt;BR /&gt;Far simpler (and sorry I didn't post this in the first place -- but your original phrasing was very unclear that you weren't just asking about swapinfo itself) to use the supported pstat() interfaces.&lt;BR /&gt;&lt;BR /&gt;Attached is memdetail.c -- which I did not write (its been posted before, and it is very good at what it does). I think it does basically what you've asked for... if you want more detailed information, there's likely other pstat based programs folks have posted.&lt;BR /&gt;&lt;BR /&gt;# cc +DD32 -D_PSTAT64 -o memdetail memdetail.c&lt;BR /&gt;"memdetail.c", line 122: warning #2117-D: non-void function "main" should&lt;BR /&gt;          return a value&lt;BR /&gt;        return;&lt;BR /&gt;              ^&lt;BR /&gt;&lt;BR /&gt;# ./memdetail&lt;BR /&gt;Memory Stat      total    used   avail   %used&lt;BR /&gt;physical        4743.2  1633.0  3110.2     34%&lt;BR /&gt;active virtual   578.1   371.6   206.5     64%&lt;BR /&gt;active real      348.1   199.7   148.4     57%&lt;BR /&gt;memory swap     4518.2  1048.1  3470.1     23%&lt;BR /&gt;device swap     32768.0  411.8  32356.2     1%&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Mar 2008 14:29:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164257#M320347</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2008-03-19T14:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164258#M320348</link>
      <description>&lt;P&gt;&amp;gt;I have 8 Gb main memory and 9 GB (4+5) memory in swap, 17 Gb in total.&lt;BR /&gt;&lt;BR /&gt;Since you don't have swapmem_on set, you only have 9 Gb total.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Don: warning #2117-D: non-void function "main" should return a value&lt;BR /&gt;&lt;BR /&gt;Any reason you didn't "improve" this when you reposted? ;-) Then you wouldn't have to explain the warning.&lt;BR /&gt;Change to: return 0;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jan 2013 10:34:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164258#M320348</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-01-01T10:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164259#M320349</link>
      <description>&lt;!--!*#--&gt;thank you Don and Dennis &lt;BR /&gt;&lt;BR /&gt;Uploading the modified version of memdetail&lt;BR /&gt;&lt;BR /&gt;SRV2:home/yogeeraj&amp;gt;cc +DD32 -D_PSTAT64 -o memdetail memdetail.c&lt;BR /&gt;SRV2:home/yogeeraj&amp;gt;./memdetail&lt;BR /&gt;Memory Stat      total    used   avail   %used&lt;BR /&gt;physical        8192.0  1587.5  6604.5     19%&lt;BR /&gt;active virtual  1229.7   875.3   354.4     71%&lt;BR /&gt;active real      416.1   150.6   265.5     36%&lt;BR /&gt;memory swap     6309.9   351.3  5958.6      6%&lt;BR /&gt;device swap     10240.0  465.8  9774.2      5%&lt;BR /&gt;SRV2:home/yogeeraj&amp;gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 20 Mar 2008 02:51:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164259#M320349</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-03-20T02:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164260#M320350</link>
      <description>attachment.&lt;BR /&gt;&lt;BR /&gt;nb. replaced &lt;BR /&gt;   main() &lt;BR /&gt;with &lt;BR /&gt;   void main(void)</description>
      <pubDate>Thu, 20 Mar 2008 02:55:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164260#M320350</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-03-20T02:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164261#M320351</link>
      <description>&lt;P&gt;&amp;gt;Yogeeraj: replaced main() with: void main(void)&lt;BR /&gt;&lt;BR /&gt;Ack!! That is illegal. The C and C++ Standards require it to be:&lt;BR /&gt;int main. (void) isn't needed for definitions.&lt;BR /&gt;&lt;BR /&gt;Only C89 requires a "return 0;" at the end, the others default to it.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jan 2013 10:33:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164261#M320351</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-01-01T10:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to see total memory usage..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164262#M320352</link>
      <description>Dennis&amp;gt; Ack!! That is illegal. The C and C++ Standards require it to be: int main. (void) isn't needed for definitions.&lt;BR /&gt;&lt;BR /&gt;Sorry i was not aware of this. thank you for this clarification. I really appreciate.&lt;BR /&gt;&lt;BR /&gt;Source updated and attached herein.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 20 Mar 2008 03:45:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-see-total-memory-usage/m-p/4164262#M320352</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-03-20T03:45:56Z</dc:date>
    </item>
  </channel>
</rss>

