Re: Urgent : total memory usage

From: Myers, Drew (MyersD@GOALAMO.COM)
Date: Tue Jan 21 2003 - 12:54:18 EST


My understanding is svmon can be used to determine the memory usage of one
process (via the -P flag I believe), is that accurate?

-----Original Message-----
From: Holger.VanKoll@SWISSCOM.COM [mailto:Holger.VanKoll@SWISSCOM.COM]
Sent: Tuesday, January 21, 2003 12:48 PM
To: aix-l@Princeton.EDU
Subject: Re: Urgent : total memory usage

# /usr/samples/kernel/vmtune|grep numperm
number of file memory pages = 3986798 numperm=49.5% of real memory
# lslpp -w /usr/samples/kernel/vmtune
  File Fileset Type

------------------------------------------------------------------------

----
  /usr/samples/kernel/vmtune                  bos.adt.samples       File
# vmstat 1 2
kthr     memory             page              faults        cpu
----- ----------- ------------------------ ------------ -----------
 r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa
 1 14 4192683 208280   0   0   0  76  229   0 1218 1535 928  1  0 98  1
 0  0 4192687 208276   0   0   0   0    0   0 1279 2961 1284  0  0 99  0
# fremem=`echo 208276*4/1024|bc`                        # from the
fre-column
# filecachemem=`echo 3986798*4/1024|bc`         # number of file memory
pages
# let procmem=$fremem+$filecachemem                     # everything
else
# echo $procmem $fremem $filecachemem
16386 813 15573
# bootinfo -r
33554432
this sums up quite correct:
# echo 16386+813+15573|bc
32772
# echo 32772*1024|bc
33558528


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:29 EDT