Please login or register. December 15, 2018, 09:14:44 PM

Author Topic: Memory in Use  (Read 10440 times)

0 Members and 1 Guest are viewing this topic.

angeek

  • Jr. Member
  • **
  • Posts: 5
  • Karma: +0/-0
Memory in Use
« on: June 05, 2007, 08:25:58 PM »
Hi ,

We have an Aix 5.3 Server that is using 5G of memory or so we believe.

Is there a way ot telling what processes are using the most memory. I have used svmon -P , but When the list the amount in use and I all them together they come to much more that the amount of memory I have got.

Can anyone tell me what inuse is in (ie. k or mb)


Any help would be appreciated ,

Thanks

angeek

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
Re: Memory in Use
« Reply #1 on: June 06, 2007, 05:25:15 PM »
The first part: the numbers are pages: generally a 4k value. If you system is using large pages (havent had to use them myself, so I'll guess that they are whatever your large page is setup to be).

A sample:
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd LPage
   21646 httpd            20888     3383     1434    23528      N     N     N

    Vsid      Esid Type Description              LPage  Inuse   Pin Pgsp Virtual
    83c8         - clnt /dev/lvLog:4108              -   5492     0    -     -
       0         0 work kernel seg                   -   4665  3381 1368  5860
   1e973         2 work process private              -   3308     2    0  3308
   18038         d work shared library text          -   2708     0   57 14295
    43c4         - clnt /dev/lvLog:69                -   1398     0    -     -
    a3ea         - clnt /dev/lvLog:4101              -   1003     0    -     -
    f3ef         - clnt /dev/lvLog:4102              -    867     0    -     -
    b3eb         - clnt /dev/lvLog:4100              -    648     0    -     -
   193b9         - clnt /dev/lvLog:4109              -    636     0    -     -
   122d2         1 pers code,/dev/lvLocal:1026       -     71     0    -     -
   1b8b6         f work shared library data          -     52     0    0    52
    2382         - clnt /dev/lvLog:65                -     24     0    -     -
    5385         - clnt /dev/lvLog:4098              -     11     0    -     -
    8648         - work mapping source seg           -      4     0    9    12
   102f1         - work mapping source seg           -      1     0    0     1
   1191c         3 mmap maps 2 source(s)             -      0     0    -     -


Vsid: Virtual segment ID - this is the value that uniquely identifies the memory being managed. The reason your memory usage is larger than your total is probably because you are adding this value several times.

For the other columns you can refer to the man page.
Note: VSIG 0 is the kernel segment
« Last Edit: June 06, 2007, 05:27:14 PM by Michael »