Re: find the system process for an oracle session

2002-11-22 Thread Stephane Faroult
"Gogala, Mladen" wrote:
> 
> Nope. Brazillians do not have football, only soccer.

 No, futbol.
-- 
Regards,

Stephane Faroult
Oriole Software
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).




RE: find the system process for an oracle session

2002-11-22 Thread Gogala, Mladen
Nope. Brazillians do not have football, only soccer.
I've never seen a brazillian team going to the superbowl.
I believe that Denver and Packers will be going there this 
year. None of those two teams is from Brazil.

> -Original Message-
> From: MOORE, Peter Rbh [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 22, 2002 11:04 AM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: find the system process for an oracle session
> 
> 
> Ginko Biloba?
> Isn't he a Brazilian footballer?
> 
> Pete
> 
> 
> > -Original Message-
> > From: Ruth Gramolini [mailto:[EMAIL PROTECTED]]
> > Sent: 22 November 2002 15:51
> > To: MOORE, Peter Rbh; [EMAIL PROTECTED]
> > Subject: Re: find the system process for an oracle session
> > 
> > 
> > Thanks!  I had a senior moment there.  Guess I'll get some 
> > coffee to wash
> > down my Ginko Biloba.
> > 
> > Ruth
> > - Original Message -
> > From: "MOORE, Peter Rbh" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Friday, November 22, 2002 10:28 AM
> > Subject: RE: find the system process for an oracle session
> > 
> > 
> > > select p.spid, s.sid, s.username, s.program
> > > from v$session s, v$process p
> > > where p.addr = s.paddr
> > >
> > > p.spid shows you the o/s process ID for the session.
> > >
> > > --
> > > Peter Moore
> > > Systems DBA,
> > > Mid-Range Centre of Expertise,
> > > Global Service Delivery,
> > > SchlumbergerSema,
> > > Reading
> > >
> > > Phone: 0118 963 6827
> > > Email: [EMAIL PROTECTED]
> > >
> > >
> > > > -Original Message-
> > > > From: Ruth Gramolini [mailto:[EMAIL PROTECTED]]
> > > > Sent: 22 November 2002 14:54
> > > > To: Multiple recipients of list ORACLE-L
> > > > Subject: find the system process for an oracle session
> > > >
> > > >
> > > > Good morning,
> > > >
> > > > Can anyone send my the sql to find the system process 
> > being used by an
> > > > oracle session.   I know this has been out here before, but I
> > > > can't find it
> > > > in my saved stuff.
> > > >
> > > > Thanks in advance,
> > > > Ruth
> > > >
> > > > --
> > > > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > > > --
> > > > Author: Ruth Gramolini
> > > >   INET: [EMAIL PROTECTED]
> > > >
> > > > Fat City Network Services-- 858-538-5051 
> > http://www.fatcity.com
> > > > San Diego, California-- Mailing list and web 
> > hosting services
> > > > 
> > 
> -
> > > > To REMOVE yourself from this mailing list, send an 
> E-Mail message
> > > > to: [EMAIL PROTECTED] (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).
> > > >
> > >
> > >
> > > _
> > > This email is confidential and intended solely for the use of the
> > > individual to whom it is addressed. Any views or opinions 
> > presented are
> > > solely those of the author and do not necessarily 
> represent those of
> > > SchlumbergerSema.
> > > If you are not the intended recipient, be advised that you 
> > have received
> > > this email in error and that any use, dissemination, 
> > forwarding, printing,
> > > or copying of this email is strictly prohibited.
> > >
> > > If you have received this email in error please notify the
> > > SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.
> > > _
> > >
> > 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: MOORE, Peter Rbh
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- 858-538-5051 http://www.fatcity.com
> San Diego, California-- Mailing list and web hosting services
> 

RE: find the system process for an oracle session

2002-11-22 Thread M Rafiq
Ruth,

Try this query...Will give you both PID and SPID. If you want to have it for 
all uesers connected with Database then remove vs.status = 'ACTIVE'.

set linesize 120
select substr(vs.username,1,10)username,
  vs.osuser,
  vs.sid,
  vs.serial#,
  vs.LOGON_TIME,
  substr(vs.machine,1,15)machine,
  vs.process,
  vp.spid,
  vs.last_call_et
from v$session vs, v$process vp
where vs.paddr = vp.addr
and vs.username is not null
and vs.status = 'ACTIVE'
/

Regards
Rafiq






Reply-To: [EMAIL PROTECTED]
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
Date: Fri, 22 Nov 2002 08:24:44 -0800

There is a column 'PADDR' in v$session , join this with the column 'ADDR' of
v$process and look for column value 'SPID' from v$process.

Now write a query.

:)-


-Original Message-
Sent: Friday, November 22, 2002 8:54 AM
To: Multiple recipients of list ORACLE-L


Good morning,

Can anyone send my the sql to find the system process being used by an
oracle session.   I know this has been out here before, but I can't find it
in my saved stuff.

Thanks in advance,
Ruth

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Ruth Gramolini
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).


--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Reddy, Madhusudana
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: M Rafiq
 INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).



Re: find the system process for an oracle session

2002-11-22 Thread Rodd Holman
This probably gives you more than you asked for, but it works.

select substr(s.sid,1,6) SID,
   s.serial#,
   p.spid OSPROCESS,
   substr(p.program,1,25) OSPROG,
   substr(s.osuser,1,20) OSUSER,
   status,substr(s.schemaname,1,20) SCHEMANAME,
   substr(s.machine,1,15) MACHINE,
   s.terminal,
   s.program
from   v$session s,
   v$process p
where  s.paddr = p.addr
order by s.terminal, s.schemaname, s.osuser;

On Friday 22 November 2002 08:53, Ruth Gramolini wrote:
> Good morning,
>
> Can anyone send my the sql to find the system process being used by an
> oracle session.   I know this has been out here before, but I can't find it
> in my saved stuff.
>
> Thanks in advance,
> Ruth

-- 
Rodd Holman
Enterprise Data Systems Engineer
LodgeNet Entertainment Corporation
[EMAIL PROTECTED]

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rodd Holman
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).




RE: find the system process for an oracle session

2002-11-22 Thread Reddy, Madhusudana
There is a column 'PADDR' in v$session , join this with the column 'ADDR' of
v$process and look for column value 'SPID' from v$process.

Now write a query.

:)-


-Original Message-
Sent: Friday, November 22, 2002 8:54 AM
To: Multiple recipients of list ORACLE-L


Good morning,

Can anyone send my the sql to find the system process being used by an
oracle session.   I know this has been out here before, but I can't find it
in my saved stuff.

Thanks in advance,
Ruth

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ruth Gramolini
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Reddy, Madhusudana
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).




Re: find the system process for an oracle session

2002-11-22 Thread Stephane Faroult
Ruth Gramolini wrote:
> 
> Good morning,
> 
> Can anyone send my the sql to find the system process being used by an
> oracle session.   I know this has been out here before, but I can't find it
> in my saved stuff.
> 
> Thanks in advance,
> Ruth
> 

Ruth,

  It depends on whether you want the client process (eg the sqlplus
process) or the shadow process identifier.

You find the first one as column PROCESS in V$SESSION, and identify the
row either by the SID (session identifier) or by saying AUDSID =
SYS_CONTEXT('USERENV', 'SESSIONID') to identify the currently running
session.
The second one is column SPID in V$PROCESS, and you can join V$SESSION
to V$PROCESS by saying V$SESSION.PADDR = V$PROCESS.ADDR.

-- 
HTH,

Stephane Faroult
Oriole Software
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).




RE: find the system process for an oracle session

2002-11-22 Thread Gogala, Mladen
 select s.username,s.sid,s.osuser,p.spid
 from v$session s,v$process p
 where p.addr=s.paddr
 and s.sid=&sid

> -Original Message-
> From: Ruth Gramolini [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 22, 2002 9:54 AM
> To: Multiple recipients of list ORACLE-L
> Subject: find the system process for an oracle session
> 
> 
> Good morning,
> 
> Can anyone send my the sql to find the system process being used by an
> oracle session.   I know this has been out here before, but I 
> can't find it
> in my saved stuff.
> 
> Thanks in advance,
> Ruth
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Ruth Gramolini
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- 858-538-5051 http://www.fatcity.com
> San Diego, California-- Mailing list and web hosting services
> -
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (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).
> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Gogala, Mladen
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).




RE: find the system process for an oracle session

2002-11-22 Thread MOORE, Peter Rbh
Ginko Biloba?
Isn't he a Brazilian footballer?

Pete


> -Original Message-
> From: Ruth Gramolini [mailto:[EMAIL PROTECTED]]
> Sent: 22 November 2002 15:51
> To: MOORE, Peter Rbh; [EMAIL PROTECTED]
> Subject: Re: find the system process for an oracle session
> 
> 
> Thanks!  I had a senior moment there.  Guess I'll get some 
> coffee to wash
> down my Ginko Biloba.
> 
> Ruth
> - Original Message -
> From: "MOORE, Peter Rbh" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Friday, November 22, 2002 10:28 AM
> Subject: RE: find the system process for an oracle session
> 
> 
> > select p.spid, s.sid, s.username, s.program
> > from v$session s, v$process p
> > where p.addr = s.paddr
> >
> > p.spid shows you the o/s process ID for the session.
> >
> > --
> > Peter Moore
> > Systems DBA,
> > Mid-Range Centre of Expertise,
> > Global Service Delivery,
> > SchlumbergerSema,
> > Reading
> >
> > Phone: 0118 963 6827
> > Email: [EMAIL PROTECTED]
> >
> >
> > > -----Original Message-
> > > From: Ruth Gramolini [mailto:[EMAIL PROTECTED]]
> > > Sent: 22 November 2002 14:54
> > > To: Multiple recipients of list ORACLE-L
> > > Subject: find the system process for an oracle session
> > >
> > >
> > > Good morning,
> > >
> > > Can anyone send my the sql to find the system process 
> being used by an
> > > oracle session.   I know this has been out here before, but I
> > > can't find it
> > > in my saved stuff.
> > >
> > > Thanks in advance,
> > > Ruth
> > >
> > > --
> > > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > > --
> > > Author: Ruth Gramolini
> > >   INET: [EMAIL PROTECTED]
> > >
> > > Fat City Network Services-- 858-538-5051 
> http://www.fatcity.com
> > > San Diego, California-- Mailing list and web 
> hosting services
> > > 
> -
> > > To REMOVE yourself from this mailing list, send an E-Mail message
> > > to: [EMAIL PROTECTED] (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).
> > >
> >
> >
> > _
> > This email is confidential and intended solely for the use of the
> > individual to whom it is addressed. Any views or opinions 
> presented are
> > solely those of the author and do not necessarily represent those of
> > SchlumbergerSema.
> > If you are not the intended recipient, be advised that you 
> have received
> > this email in error and that any use, dissemination, 
> forwarding, printing,
> > or copying of this email is strictly prohibited.
> >
> > If you have received this email in error please notify the
> > SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.
> > _
> >
> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: MOORE, Peter Rbh
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).




RE: find the system process for an oracle session

2002-11-22 Thread Hately, Mike (NESL-IT)
Ruth,

select vp.spid
 from v$process vp, v$session vs
where vp.addr=vs.paddr
  and vs.sid=&1

regards,
Mike Hately


-Original Message-
Sent: 22 November 2002 14:54
To: Multiple recipients of list ORACLE-L


Good morning,

Can anyone send my the sql to find the system process being used by an
oracle session.   I know this has been out here before, but I can't find it
in my saved stuff.

Thanks in advance,
Ruth

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ruth Gramolini
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Hately, Mike (NESL-IT)
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).




Re: find the system process for an oracle session

2002-11-22 Thread Ruth Gramolini
Thanks!  I had a senior moment there.  Guess I'll get some coffee to wash
down my Ginko Biloba.

Ruth
- Original Message -
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, November 22, 2002 10:28 AM


> select p.spid, s.sid, s.username, s.program
> from v$session s, v$process p
> where p.addr = s.paddr
>
> p.spid shows you the o/s process ID for the session.
>
> --
> Peter Moore
> Systems DBA,
> Mid-Range Centre of Expertise,
> Global Service Delivery,
> SchlumbergerSema,
> Reading
>
> Phone: 0118 963 6827
> Email: [EMAIL PROTECTED]
>
>
> > -Original Message-
> > From: Ruth Gramolini [mailto:[EMAIL PROTECTED]]
> > Sent: 22 November 2002 14:54
> > To: Multiple recipients of list ORACLE-L
> > Subject: find the system process for an oracle session
> >
> >
> > Good morning,
> >
> > Can anyone send my the sql to find the system process being used by an
> > oracle session.   I know this has been out here before, but I
> > can't find it
> > in my saved stuff.
> >
> > Thanks in advance,
> > Ruth
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Ruth Gramolini
> >   INET: [EMAIL PROTECTED]
> >
> > Fat City Network Services-- 858-538-5051 http://www.fatcity.com
> > San Diego, California-- Mailing list and web hosting services
> > -
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: [EMAIL PROTECTED] (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).
> >
>
>
> _
> This email is confidential and intended solely for the use of the
> individual to whom it is addressed. Any views or opinions presented are
> solely those of the author and do not necessarily represent those of
> SchlumbergerSema.
> If you are not the intended recipient, be advised that you have received
> this email in error and that any use, dissemination, forwarding, printing,
> or copying of this email is strictly prohibited.
>
> If you have received this email in error please notify the
> SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.
> _
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ruth Gramolini
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).




RE: find the system process for an oracle session

2002-11-22 Thread MOORE, Peter Rbh
select p.spid, s.sid, s.username, s.program
from v$session s, v$process p
where p.addr = s.paddr

p.spid shows you the o/s process ID for the session.

--
Peter Moore
Systems DBA,
Mid-Range Centre of Expertise,
Global Service Delivery,
SchlumbergerSema,
Reading

Phone: 0118 963 6827
Email: [EMAIL PROTECTED]


> -Original Message-
> From: Ruth Gramolini [mailto:[EMAIL PROTECTED]]
> Sent: 22 November 2002 14:54
> To: Multiple recipients of list ORACLE-L
> Subject: find the system process for an oracle session
> 
> 
> Good morning,
> 
> Can anyone send my the sql to find the system process being used by an
> oracle session.   I know this has been out here before, but I 
> can't find it
> in my saved stuff.
> 
> Thanks in advance,
> Ruth
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Ruth Gramolini
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- 858-538-5051 http://www.fatcity.com
> San Diego, California-- Mailing list and web hosting services
> -
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (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).
> 


_
This email is confidential and intended solely for the use of the 
individual to whom it is addressed. Any views or opinions presented are 
solely those of the author and do not necessarily represent those of 
SchlumbergerSema.
If you are not the intended recipient, be advised that you have received
this email in error and that any use, dissemination, forwarding, printing, 
or copying of this email is strictly prohibited.

If you have received this email in error please notify the
SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.
_

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: MOORE, Peter Rbh
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).




Re: find the system process for an oracle session

2002-11-22 Thread Arup Nanda
Ruth,

If you mean the operating system process id, it's in v$session field
PROCESS.

the following will tel you the oracle server process

select spid
from v$process p, v$session s
where s.sid = 
and p.addr = s.paddr

HTH

Arup Nanda
- Original Message -
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Friday, November 22, 2002 9:53 AM


> Good morning,
>
> Can anyone send my the sql to find the system process being used by an
> oracle session.   I know this has been out here before, but I can't find
it
> in my saved stuff.
>
> Thanks in advance,
> Ruth
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Ruth Gramolini
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services-- 858-538-5051 http://www.fatcity.com
> San Diego, California-- Mailing list and web hosting services
> -
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (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).
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Arup Nanda
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).




find the system process for an oracle session

2002-11-22 Thread Ruth Gramolini
Good morning,

Can anyone send my the sql to find the system process being used by an
oracle session.   I know this has been out here before, but I can't find it
in my saved stuff.

Thanks in advance,
Ruth

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ruth Gramolini
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).