Operating System - HP-UX
1835346 Members
2787 Online
110078 Solutions
New Discussion

Create core file AND continue execution?

 
SOLVED
Go to solution
Jan Zalman
Advisor

Create core file AND continue execution?

Hi,
is there any way on hpux11.11 to create core file from runnig process, keeping this process still runing? (so SIGQUIT cannot help) I was informed that maybe Linux or x86 version of gdb has gcore command, but I haven't found this feature in hpux gdb. Thanks for any advice. Jan.
Time and loyalty cannot be bought.
5 REPLIES 5
KapilRaj
Honored Contributor

Re: Create core file AND continue execution?

I heard kill -QUIT for a java process creastes a core file

Can u give it a try

Regds,

Kaps
Nothing is impossible
Nicolas Dumeige
Esteemed Contributor

Re: Create core file AND continue execution?

Hello,

In FreeBSD or Solaris the utility is called gcore.
I don't find any equivalent on HP-UX.

There could a be a specific signal to send to process to get the core and leave it running. Maybe it can be done with a debbugger.

Cheers

Nicolas
All different, all Unix
Nicolas Dumeige
Esteemed Contributor
Solution

Re: Create core file AND continue execution?

Take a look at this

http://www.interex.org/conference/hpworld2001/sessions/sn230/

it is the same utility on HP-UX : gcore

Nicolas
All different, all Unix
Jan Zalman
Advisor

Re: Create core file AND continue execution?

Finally I found gcore.c on hp developer and solution partner http://h21007.www2.hp.com/dev/ conference. Thank you. Jan.
Time and loyalty cannot be bought.
Nicolas Dumeige
Esteemed Contributor

Re: Create core file AND continue execution?

Jan,

Please take the time to give points to answers.

Thx

Nicolas
All different, all Unix