Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to find the OS ppid in v$session and V$process

846231May 16 2012 — edited Mar 12 2013
Hi,

Oracle 11gDB

I have this suspiscious process in my v$session that is always running and connected to a schema "HR", even if the The "HR" application is also stopped and other Batch HR related process.
And it tells me also that it came from the unix machine sun-server1. My problem is I can not locate the OS PPID for this process when i login to OS at sun-server1.
I tried killing this session but it keeps on connecting. Even if I bounce back the database, it keep on coming back.

How to I find the source of this process at the sun-server1?

I tried this script:
SELECT	p.program, p.spid
FROM v$session s, v$process p
WHERE s.paddr = p.addr
AND s.sid IN (39)
Program                                                 Spid
============    ====
ORACLE.EXE (SHAD)	6404
But if I ps -ef |grep 6404 there is no OS process existing. Any other script that can list the OS process id?


Thanks a lot,
This post has been answered by sb92075 on May 17 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 9 2013
Added on May 16 2012
25 comments
139,847 views