Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I determine how much memory a process is using in AIX?

share|improve this question

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

share|improve this answer

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.

share|improve this answer

You can see memory usage with:

ps v PID

where PID is the process ID you are checking.

You can find info about the variables displayed here:

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)

share|improve this answer

Have you tried:

ps -p PID -o command,size

where PID is the process ID that you're interested in?

share|improve this answer
Do I type literally "command,size"? – C. Ross Oct 6 '09 at 18:25
Yes, those are the field names for the output option: -o – Dennis Williamson Oct 6 '09 at 19:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.