Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

total memory usage

Status
Not open for further replies.

gocham

IS-IT--Management
Jan 20, 2004
1
US
hi all..

we have 8gb of real memory on the server and 4Gb of paging space, out of which 1Gb is used. I'm trying to fing out what exactly is using all memory

Shared memory:
$ ipcs -ma|awk ' { x += $10/1024/1024};END {print "Tot Mb of shared mem "x}'
Tot Mb of shared mem 2730.09

Processes:
ps -ef|awk '{print $2}'|while read pid
do
ps v |grep -v TTY
done|awk '{ RSS += $7 ;TSIZ += $10 }END{print RSS + TSIZ }'

output of it is 637864, i.e. 600+ Mb

Therefore, total memory usage should be 2730.09Mb+637.864Mb=3.4Gb

However, 9Gb is used... How can I tell what is using rest of the memory?
Thank you
 
FYI....
Recomendation is one to one with paging space to real memory... We have had Database Applications fail when there is not enouph paging space to support memory.

You also must realize that your memory is also used for I/O when running AIX.....

We have always had problems figuring the memory utilization of our servers. It is hard to figure if we need to increase the size, which usually means upgrading the server... You may want to see if IBM marketing has a tool to determine true memory needs, they would love to sell you more.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top