poniedziałek, 23 lutego 2009

Other users' Oracle sessions

select process, program, osuser, sid, serial#,
BLOCKING_SESSION_STATUS, SECONDS_IN_WAIT, lockwait, status
from v$session
where type = 'USER'
and nvl(osuser, 'nomycurrentuser') != 'mycurrentuser'

Brak komentarzy:

Prześlij komentarz