Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

How to force HPUX 11.31 IA to do core dump?

SOLVED
Go to solution
Bishwajit Kumar
Frequent Advisor

How to force HPUX 11.31 IA to do core dump?

How to force HPUX 11.31 IA to do core dump? and how to collect the code dumps?
6 REPLIES
Dennis Handly
Acclaimed Contributor

Re: How to force HPUX 11.31 IA to do core dump?

To force an application to produce a core file, you can send it a SIGQUIT.

To get a panic dump, you need to do a TOC.
Bishwajit Kumar
Frequent Advisor

Re: How to force HPUX 11.31 IA to do core dump?

I have no idea how to do that? Do you mind provide me detail steps PLEASE?

Thank You!
Dennis Handly
Acclaimed Contributor

Re: How to force HPUX 11.31 IA to do core dump?

>I have no idea how to do that?

I mentioned two things. You need to specify what you wanted to do:
kill -QUIT PID
In the MP (use control-B on the console), use the tc command.
Turgay Cavdar
Honored Contributor
Solution

Re: How to force HPUX 11.31 IA to do core dump?

You can use also livedump feature of 11.31:

1-) Set the value of LIVEDUMP_ENABLED to 1 in the file /etc/rc.config.d/livedump.

2-)Start the Live Dump kernel daemon:
# /sbin/init.d/livedump start

3-)Begin the Live Dump
# /sbin/livedump -b -d START
Ismail Azad
Esteemed Contributor

Re: How to force HPUX 11.31 IA to do core dump?

Bishwajit,

The manual way of initiating a dump if you have an older system is to just push the TOC button or you can do a cm and then a tc on the MP console. Turn the control variable in /etc/rc.config.d/savecrash to 1 or 0 depending on if you have paging devices.
Read, read and read... Then read again until you read "between the lines".....
Bishwajit Kumar
Frequent Advisor

Re: How to force HPUX 11.31 IA to do core dump?

Thanks every one for your reply.