Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Tracking JDBC clients in V$SESSION
On Unix I run 'netstat -a', count the number of SQLNet connections per remote host,
then
compare that with the number of connections per username in v$session. With that you
can
kinda deduce what hosts are connected to what username. Maybe there is a better way...
"Jesse, Rich" wrote:
>
> So, there I am, trying to find out what client a connection to an 8.1.7 DB
> on Solaris is coming from. Naturally, I "SELECT USERNAME, MACHINE, TERMINAL
> FROM V$SESSION;" Lo and behold, there is a generic login for the username,
> column MACHINE in all rows contains "jdbcclient" and TERMINAL contains
> "unknown". With SQLNet and Net8 these two columns are populated as one
> would expect. Also, the OSUSER column is generic, so I'm not able to use
> that info.
>
> Never having used JDBC (yet), is there a setting in the JDBC client to set
> these? More importantly, if there is, WHY would there be such a setting?
> And how am I supposed to track this down, aside from SHUTDOWN ABORT (ick)?
>
> TIA,
> Rich Jesse System/Database Administrator
> Rich.Jesse_at_qtiworld.com Quad/Tech International, Sussex, WI USA
>
>
>------------------------------------------------------------------------------------------
> Name: InterScan_Disclaimer.txt
> InterScan_Disclaimer.txt Type: Plain Text (text/plain)
> Encoding: 7bit
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: SuzyV INET: lvordos_at_datsit.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Thu Apr 26 2001 - 19:16:25 CDT
![]() |
![]() |