SQL >
l oradebug setmypid
명령문을 처리했습니다.
SQL >
l oradebug short_stack
ksedsts()+585<-ksdxfstk()+44<-ksdxen_int()+6463<-ksdxen()+17<-opiodr()+1662<-ttcpip()+1325<-opitsk()+2040<-opiino()+1258<-opiodr()+1662<-opidrv()+864<-sou2o()+98<-opimai_real()+158<-opimai()+191<-OracleThreadStart()+724<-000000007682652D<-0000000076D0C521
SQL >
l oradebug dump callstack 1
명령문을 처리했습니다.
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
-------------------- -------- -------------------- ----------------------------
ksedst1()+129 CALL??? skdstdst() 00C465990 00C2F7FE0 300000048
0FFFFFFFD
ksedst_tracecb()+69 CALL??? ksedst1() 000000000 01CF59CC1
243AAE1482B7 01CF5DB58
ksdxfdmp()+1909 CALL??? ksedst_tracecb() 01CF5A020 000000000 000000000
000000000
ksdxen_int()+6463 CALL??? ksdxfdmp() 01CF5C160 000000010 000000003
01CF5AFE0
ksdxen()+17 CALL??? ksdxen_int() 7FF00000056 000000011
01CF5E100 000000001
opiodr()+1662 CALL??? ksdxen() 000000001 243A0000001C
01CF5E100 01CF5B350
ttcpip()+1325 CALL??? opiodr() 000000056 000000011 01CF5E100
...
OracleThreadStart() CALL??? opimai() 000000000 006DF0B34 0000000E8
+724 000000878
000000007682652D CALL??? OracleThreadStart() 00DA9FF18 000000000 000000000
000000000
0000000076D0C521 CALL??? 0000000076826520 000000000 000000000 000000000
000000000
----- End of Call Stack Trace -----
strace -ttT -o strace.txt -p 32319
strace -c -ttT -o strace.txt -p 32319
17:30:42.799348 read(16, 0x133ba626, 2064) = ? ERESTARTSYS (To be restarted) <2.806911>
17:30:45.615125 --- SIGALRM (Alarm clock) @ 0 (0) ---
17:30:45.615308 rt_sigprocmask(SIG_BLOCK, [], NULL, 8) = 0 <0.000031>
17:30:45.615465 gettimeofday({1335515445, 615508}, NULL) = 0 <0.000022>
17:30:45.615578 gettimeofday({1335515445, 615620}, NULL) = 0 <0.000024>
17:30:45.615688 gettimeofday({1335515445, 615717}, NULL) = 0 <0.000020>
17:30:45.615782 rt_sigprocmask(SIG_BLOCK, [ALRM], NULL, 8) = 0 <0.000021>
17:30:45.615883 gettimeofday({1335515445, 615911}, NULL) = 0 <0.000020>
17:30:45.615994 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={60, 0}}, NULL) = 0 <0.000026>
17:30:45.616109 rt_sigprocmask(SIG_UNBLOCK, [ALRM], NULL, 8) = 0 <0.000020>
17:30:45.616198 gettimeofday({1335515445, 616225}, NULL) = 0 <0.000020>
17:30:45.616291 rt_sigprocmask(SIG_BLOCK, [ALRM], NULL, 8) = 0 <0.000019>
17:30:45.616376 gettimeofday({1335515445, 616403}, NULL) = 0 <0.000019>
17:30:45.616464 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={60, 0}}, NULL) = 0 <0.000021>
17:30:45.616561 rt_sigprocmask(SIG_UNBLOCK, [ALRM], NULL, 8) = 0 <0.000024>
17:30:45.616664 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={60, 0}}, NULL) = 0 <0.000022>
17:30:45.616765 rt_sigprocmask(SIG_UNBLOCK, [], NULL, 8) = 0 <0.000028>
17:30:45.616859 rt_sigreturn(0x1) = 0 <0.000023>
17:30:45.616958 read(16, <unfinished ...>
truss -adD -o <output_file> -p <pid>
truss -c -adD -o <output_file> -p <pid>
tusc -aT -o <output_file> <pid>
tusc -c -aT -o <output_file> <pid>
pstack 32319
#0 0x000000355980d590 in __read_nocancel () from /lib64/libpthread.so.0
#1 0x000000000497201e in snttread ()
#2 0x000000000496f059 in nttrd ()
#3 0x000000000485ddca in nsprecv ()
#4 0x0000000004861a0f in nsrdr ()
#5 0x000000000483b750 in nsdo ()
#6 0x000000000483b032 in nsbrecv ()
#7 0x0000000004878e7e in nioqrc ()
#8 0x000000000130dc7f in opikndf2 ()
#9 0x000000000130b807 in opitsk ()
#10 0x000000000130e9e4 in opiino ()
#11 0x00000000013103f4 in opiodr ()
#12 0x0000000001301e13 in opidrv ()
#13 0x0000000001e8ca2a in sou2o ()
#14 0x00000000006e901b in opimai_real ()
#15 0x00000000006e8f6c in main ()
- 강좌 URL : http://www.gurubee.net/lecture/4118
- 구루비 강좌는 개인의 학습용으로만 사용 할 수 있으며, 다른 웹 페이지에 게재할 경우에는 출처를 꼭 밝혀 주시면 고맙겠습니다.~^^
- 구루비 강좌는 서비스 제공을 위한 목적이나, 학원 홍보, 수익을 얻기 위한 용도로 사용 할 수 없습니다.