select b.PGA_USED_MEM PGA_USED_MEM, b.PGA_ALLOC_MEM PGA_ALLOC_MEM,
b.PGA_FREEABLE_MEM PGA_FREEABLE_MEM,b.PGA_MAX_MEM PGA_MAX_MEM
from v$session a, v$process b
where a.PADDR=b.ADDR and a.sid ='&sid'
select a.sid, b.name, sum(value)/1024/1024
from v$sesstat a, v$statname b
where a.statistic#=b.statistic#
and b.name like '%pga%'
group by sid,name
[@more@]