AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  Memory usage puzzle

    Posted 07/15/11 09:05 AM

    Originally posted by: SzymonMiotk


    Hello,

    I'm investigating memory usage on one AIX 5.3 server and I'm a bit
    puzzled.
    The server has 16GB and svmon shows the following usage:
    bw_test@dtibbw01 /usr/local/stat/2011/07 $ svmon -G
    size inuse free pin virtual
    memory 4046848 3614960 431888 759611 4513329
    pg space 2588672 1563676

    work pers clnt other
    pin 622641 0 0 136970
    in use 3516509 0 98451

    So the 14GB are "inuse".
    So I want to find which processes are using the memory.
    I do
    svmon -Pn | egrep "Y|N" #egrep to print the summary line only

    The sum of all "inuse" is 1992673 - 7.7GB

    Where is the missing 6.3GB memory? It's not gone for caching because topas reports:
    % Comp 89
    % Noncomp 7
    % Client 7

    Thank you in advance,
    Szymon Miotk
    #AIX-Forum


  • 2.  Re: Memory usage puzzle

    Posted 11/22/11 01:22 AM

    Originally posted by: Pranab


    Hi, Have you got an answer to this by now? Actually, I am also facing the same problem while analyzing memory usage on an aix5.3 box. We have some instances on db29.1 and some on db2 9.7. How do we find out the "Total memory used by all processes (related to all instances of db2) on the system"? Please share if you have an idea how to diagnose this.

    Thanks,
    Pranab
    #AIX-Forum


  • 3.  Re: Memory usage puzzle

    Posted 11/22/11 07:45 AM

    Originally posted by: MarkTaylor


    shared memory segments in one word .. ok, thats 3 words .. ipcs -ma .. you may want to have a google for this, there are plenty of docs out there that give you layman's break down of AIX VMM and memory model ..

    HTH
    Mark Taylor
    #AIX-Forum