select
/*s.osuser,
decode
(
sign(48-command),
1, to_char(command), 'Action Code #' || to_char(command)
) action,
p.program,*/
status,
s.terminal,
s.program,
s.username,
/*s.fixed_table_sequence activity_meter,
'' query,
0 memory,
0 max_memory,
0 cpu_usage,*/
s.sid,
s.serial#
from
v$session s,
v$process p
where
s.paddr = p.addr and
s.type = 'USER'
order by s.username, s.osuser
/
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22558114/viewspace-1097783/
,如需转载,请注明出处,否则将追究法律责任。