Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Identifying logged in users

Re: Identifying logged in users

From: Nuno Souto <nsouto_at_optushome.com.au.nospam>
Date: Wed, 12 Jun 2002 15:05:29 +1000
Message-ID: <3d06d7ee$0$28007$afc38c87@news.optusnet.com.au>


In article <ec12f506.0206111932.7355075a_at_posting.google.com>, you said (and I quote):

> v$session for currently logged in users all the users appear as
> follows:
> Oracle user:APPS
> OS user: FINTEST
>
> How can I get information about the real logged in user names?
> Thanks for any help.

Welcome to shared logins...

You can't. Not unless you go through some very heavy hoops. However, you can isolate the OS processes for these sessions.

Join v$session with v$process via PADDR and ADDR columns and use the SPID column in v$process to get the OS process id. In Unix, this is the PID that shows up in "ps -ef".

-- 
Cheers
Nuno Souto
nsouto_at_optushome.com.au.nospam
Received on Wed Jun 12 2002 - 00:05:29 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US