Originally posted by: IBMAIXMONITOR
Hello,
Am working on small program that used to calculate the memory usage of AIX servers. Am using
svmon -G command to get the memory usage. For example, consider the following output.
$ svmon -G
size inuse free pin virtual mmode
memory 1957888 670177 1287711 411476 512709 Ded
pg space 131072 2929
work pers clnt other
pin 350964 0 0 60512
in use 512709 0 157468
PageSize PoolSize inuse pgsp pin virtual
s 4 KB - 269713 2929 85684 112245
m 64 KB - 25029 0 20362 25029
$
Am using "in use" value at the 6-th line number as memory usage. It gives 26 % as a memory usage. Also am using /bin/ps -eo comm,pmem,args to get the all the process memory usage to confirm with previous calculation.But value calculated by both methods does not match.
Please advise.
#AIX-Forum