How to know the size of the program currently executing in memory

hey everybody,
i am currently working on solaris 10 os on a m5000 server. my problem is when i want the exact size of a program in execution, i am unable to do it. earlier i thought the RSS field of prstat but because of its large size it cant be the size. pmap -x shows some output but it includes the memory shared among the various processes. I am newbie so i dont have much idea. any kind of help is appreciated.:b:
thanks,
vivek.

Hi aryansheikh,

Have you tried using prstat -J, for more information, use the man pages.

I hope this is of help.

Jnike

I'm not expert in performance analysis, but take a look at this article, it might help:

Topping top in Solaris with prstat