top of page

DB에 접속한 프로세스 조회 및 확인 SQL

— DB에 접속한 프로세스 조회 및 확인 SQL

select s.sid , s.serial# , s.username — 접속 DB User , s.status — 접속 Status , s.schemaname , s.osuser — 접속 OS User , s.process — Main Process OS Process Number , s.machine — 접속 Client , s.terminal — 접속 Client Process Number , s.program — 접속 프로그램 명 , s.type , s.module — 접속 모듈 명 , s.logon_time — Logon Time , p.pid , p.spid — sub process (OS Prcess Number) , p.username , p.serial# , p.terminal , p.program , (sysdate – s.logon_time)*24*60 — 접속유지 시간(분) from v$session s, v$process p where s.paddr = p.addr and (sysdate – s.logon_time)*24*60 > 10 and s.type <> ‘BACKGROUND’ order by s.logon_time

조회수 1회댓글 0개

Comments


bottom of page