formula to get the swap space on a machine

Hello

there are different opinions on how to get the swap space on Solaris.

some say: swap -s and the space= used + available

others say swap -l (donno how they get the swap size)
other say 'top' command
others say using format command (in print sub-command)

Could you please advise on how to get the swap size on a solaris machine?
thanks

Hi,

According to u that is swap -s 

exactly to see the swap size of the virtual meomry 

thanx
sastry:b: