DBA Hub

📋Steps in this guide1/1

Get sid from os pid

- Get sid from os pid ( server process)

oracle configurationintermediate
by OracleDba
11 views
1

Get sid from os pid

- Get sid from os pid ( server process)

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
col sid format 999999
col username format a20
col osuser format a15
select b.spid,a.sid, a.serial#,a.username, a.osuser
from v$session a, v$process b
where a.paddr= b.addr
and b.spid='&spid'
order by b.spid;

Comments (0)

Please to add comments

No comments yet. Be the first to comment!