Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have an IBM P series box running AIX 5.3. This is our application server, whereby our J2EE application is running in Oracle's Applications Server (version 10g r2). At around 11pm till the next day 7am, we have shell scripts running, which executes Java class programs.

Recently, this server has been experiencing some high memory usage, which caused some of the Java class programs throwing "Out of memory" exception .

We normally use NMON to monitor the server's resources, such as CPU, I/O, memory, etc. But because of this OOM issue, we would like to know throughout the day, what are the processes which are running and how much memory each process consumed.

NMON is not able to show this. Even with the "-T" parameter, it only shows the top processes and not all.

Is there any thing we can use to monitor all the processes' memory?

share|improve this question

2 Answers 2

I'm not an AIX expert, but ipcs could help.

ipsc -bom will show you active memory segment with their owner and size. It could be enought to determine who consume the memory.

share|improve this answer
1  
Is ipcs not only for shared memory? –  Gaius Nov 9 '10 at 16:32
    
@Gaius yes it is. –  Benoit Nov 9 '10 at 16:58
    
I've not heard of ipsc. Tried to google for it and got non-relevant results. Is there a website I can refer to or a wikipedia entry? –  Alvin Sim Nov 10 '10 at 4:34
    
@Alvin IBM Documentation should contain informations. Have a look at publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/… –  Benoit Nov 10 '10 at 9:52

WLM (WorkLoad Manager) do the job, look at: https://www.ibm.com/developerworks/aix/library/au-Practical_WLM.html http://www.redbooks.ibm.com/abstracts/sg245977.html

share|improve this answer

Your Answer

 
discard

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.