You see, I was right about greatness of this list (as if somebody doubts it ;-)). Thanks a lot for all suggestions, I like the forking idea best. Simple and effective. However, for what I need it for, pstack (thanks, Alexey) seems most suitable. It is available on Linux as well, by the way. Thank you, guys, once again. You saved my day :-) Gennady. Ara.T.Howard wrote: ... > > ~ > echo $$ > 14075 > > ~ > gcore $$ > > ~ > file core.14075 > core.14075: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), > SVR4-style, from 'bash' > > you could call it with a system call. also, it seems like forking and then > calling abort would do? > > regards. > > -a > -- > =============================================================================== > > | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov > | PHONE :: 303.497.6469 > | A flower falls, even though we love it; > | and a weed grows, even though we do not love it. | --Dogen > =============================================================================== >