Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Identifying logged in users
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.nospamReceived on Wed Jun 12 2002 - 00:05:29 CDT
![]() |
![]() |