how can i see which process is using how much of swap

hi guys
i am new to opensolaris and i have installed opensolaris 2009.6 preview
and i would like to know how much swap using each process currently.....

check the man pages of sar and swapinfo

u can use the SMC command and follow the on screen window

thanks for your reply
you mean solaris console management
can you tell me how did i get SMC..can you help me

open the terminal windows.....the place where u write the commands.......type in there SMC .... u will see java based applet loading behind the terminal........a windows just like the one in windows with tree like structure........u will a node called user processes. click on that and u will see ur current running processes......

A simpler solution would be:

ps -eo vsz,rss,pid,args | sort -n

First column is virtual memory usage which is also know as swap depending of what definition you pick ...

You can also use pmap -S pid to see how much swap a specific process is using.