Monitor Processes' Memory Usage
- by Alvin Sim
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?