svmon -G for system wide memory The “virtual” column times the page size (4*1024) is non-filesystem pages in use. Total memory available is under “size” column times the page size. Amount of memory committed to the native heap the number of ’Inuse’ pages in the svmon output http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/topic/com.ibm.java.doc.diagnostics.50/diag/problem_determination/aix_mem_native_heap_usage.html Memory usage by processes http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.prftungd/doc/prftungd/mem_use_processes.htm svmon -P $PID -m -r -i 60 5 > svmon.out & http://www-01.ibm.com/support/docview.wss?uid=swg21138587 for PID in 123456 78901234; do nohup svmon -P $PID -m -r -i 60 > svmon$PID.out 2>&1 & done Monitoring the Process Size on AIX http://www-01.ibm.com/support/docview.wss?uid=swg21222446 The segment numbers show up under Esid; the above shows segments 3, 4, 5, and 6 being used for "work," and segments 7, 8, 9, a and b are using mmap http://www.ibm.com/developerworks/systems/articles/aix4java1.html To find out if you are running low on native heap, observe the "InUse" column of svmon output. This column lists the pages, each of size 4 KB, being used. Observing the value for each segment belonging to native heap gives you a good idea of native heap usage. The maximum value possible for InUse for a segment is 256MB/4KB = 65536 http://www.ibm.com/developerworks/systems/articles/aix4java1.html |
HW/OS2011. 7. 11. 09:29