Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Finding open database links database wide
Well, that's one heck of a neat trick, except it does not tell you which
user has which link open. Is there a way to catch that??=20
-----Original Message-----
From: scott.hutchinson_at_interact-analysis.com
[mailto:scott.hutchinson_at_interact-analysis.com]=20
Sent: Monday, February 14, 2005 3:26 AM
To: oracle-l_at_freelists.org
Cc: Bruce.Reardon_at_comalco.riotinto.com.au
Subject: RE: Finding open database links database wide
I'm not sure about Oracle8, but in Oracle9 I use this (must run as sys):
select
username,osuser,status,sid,serial#,machine,process,terminal,program=20
from v$session=20
where saddr in ( select k2gtdses from sys.x$k2gte );=20
Scott.
Quoting "Reardon, Bruce (CALBBAY)"
<Bruce.Reardon_at_comalco.riotinto.com.au>:
> I should have said Oracle 8.1.7.4 under Windows 2000.
> What does lsof do - perhaps I can find an equivalent under Windows?
> Thanks,
> Bruce
>=20
>=20 >=20
>=20
>=20
>=20
>=20 >=20
::This message sent using the free Web Mail service from http://TheName.co.uk
-- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Mon Feb 14 2005 - 13:22:43 CST