Operating System - HP-UX
1753767 Members
5683 Online
108799 Solutions
New Discussion юеВ

Re: stack trace for particular Oracle process.

 
James Hunt
Advisor

stack trace for particular Oracle process.

Is there anyway that you can debug/create a stack trace for a certain process id on a server?
Oracle need the stack trace for one of our processes that has gone crazy.

PSTACK looks like it would have done the trick but we're running hpux11i.

many thanks.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: stack trace for particular Oracle process.

Shalom,

tusc is a pretty good tool.

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.8/

HP has stable and binary forms of it as well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: stack trace for particular Oracle process.

>but we're running hpux11i.

You need to be more specific, 11i v1?
(You can never go wrong with saying B.11.??. :-) And whether PA or Integrity.

>SEP: tusc is a pretty good tool.

This is useless for stack tracing, tusc will only give system calls.

If you aren't on 11.31, you can use gdb to attach to the process then you use "bt" to get a stack trace:
# gdb oracle-binary oracle-PID
(gdb) bt
(gdb) detach
(gdb) q
James Hunt
Advisor

Re: stack trace for particular Oracle process.

sorry,
yep, were running 11i v1. PA RISC.
Dennis Handly
Acclaimed Contributor

Re: stack trace for particular Oracle process.

pstack and pldd are now there on 11.23 for IPF in the latest linker patches.