How to check the memory useage?

Hi

From the Solaris Management Console, I find my workstation's memoy useage is 500M high, while I am not runing any big application. Two java processes occupied 300M, one I guess is the console. The mozilla takes 130M. Is that normal?

How can I check it from the command line, for each process?

Jirong

[335 byte] By [JirongHu] at [2007-11-26 0:44:49]
# 1
pmap might be what you're after. Have a look at its man page.
walesa at 2007-7-5 19:40:19 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
take a look at "prstat -a"
justTurned50 at 2007-7-5 19:40:19 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3
# /usr/ucb/ps -auxww | grep javawill help identify which java process is which.
kidari at 2007-7-5 19:40:19 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4

Chances are that the Solaris Management Console itself eat a lot of that memory ;-) 130 M sounds like normal mozilla usage..

The other Java process might be the server process which the Solaris Management Console talks to, the WBEM server (the java class for WBEM is called viper, so by doing /usr/ucb/ps -auxwww or by using pargs you should be able to identify your WBEM process).

prstat and ps are your friends, but you might also want to install 'top' to get a better view of your processes and their resource usage.

mAbrante at 2007-7-5 19:40:19 > top of Java-index,Solaris Operating System,Solaris 10 Features...