svmon is the most comprehensive tool for doing this on AIX.
svmon -P <pid>
will get you the full and glorious output. Obviously man svmon helps with interpreting that (just remember, by default, nearly all of the numbers are page counts, which are usually 4KB in size).
You can also get a very nice summary with memory shown in MB using,
You will be more interested in SIZE (Virtual size in paging space in kilobytes of the data section of the process) and RSS (Real-memory size in kilobytes of the process)
svmon
is the most comprehensive tool for doing this on AIX.svmon -P <pid>
will get you the full and glorious output. Obviously
man svmon
helps with interpreting that (just remember, by default, nearly all of the numbers are page counts, which are usually 4KB in size).You can also get a very nice summary with memory shown in MB using,
svmon -P -O summary=basic,unit=MB
You can see memory usage with:
where PID is the process ID you are checking.
You can find info about the variables displayed here: http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.prftungd/doc/prftungd/mem_usage_determine_ps.htm
You will be more interested in SIZE (Virtual size in paging space in kilobytes of the data section of the process) and RSS (Real-memory size in kilobytes of the process)
Have you tried topas? It's pretty good for that sort of thing.
You can also try nmon but it's third party, so you'll have to download and compile it.
Have you tried:
where PID is the process ID that you're interested in?