Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> REPOST: Re: Oracle on AIX
faisal_qasim_at_my-deja.com (Faisal Qasim) wrote in message news:<7d83d0a4.0201010216.726cbda0_at_posting.google.com>...
> Dear all,
>
> How to map AIX process numbers to Oracle 7.3.4 sessions? Facing slow
> system performance, we were trying to find the heaviest sessions, but
> AIX shows OS process numbers and Oracle shows its session id. How to
> map these?
>
> Regards
>
> Faisal Qasim
select sid, serial#, program, terminal, spid "OS process id"
from v$session s, v$process p
where p.addr = s.paddr
and s.sid = <yoursid>
(or p.spid = <your os process id>
Hth
Sybrand Bakker
Senior Oracle DBA
autocancel Received on Tue Jan 01 2002 - 07:38:40 CST