Operating System - HP-UX
1752351 Members
5242 Online
108787 Solutions
New Discussion юеВ

Re: generate core dump file

 
eric wang_2
Frequent Advisor

generate core dump file



I need to force generate core dump
in my running process

how to do that

my machine is HP-UX itanium B.11.23
7 REPLIES 7
Johnson Punniyalingam
Honored Contributor

Re: generate core dump file

ITRC member since: November 09, 2008
Last contribution date: January 22, 2010
I have assigned points to 0 of 4 responses to my questions.
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: generate core dump file

Please Assign points, for people who help in sharing their time and knowledge ,
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: generate core dump file

if you can doing from Console -> doing "TC"
Problems are common to all, but attitude makes the difference
eric wang_2
Frequent Advisor

Re: generate core dump file

Do you have gcore tool in itanium B.11.23
Johnson Punniyalingam
Honored Contributor

Re: generate core dump file

kill -IOT will do the trick.

But gcore utility you need to get from "HP Internal website" if better you could get help from HP - Support
Problems are common to all, but attitude makes the difference
Dennis Handly
Acclaimed Contributor

Re: generate core dump file

You could do "kill -QUIT pid".
Or use gdb to debug directly.
Or attach and use the gcore command.

>Johnson: kill -IOT will do the trick.

This will just kill it.
You shouldn't be using -IOT, better to use its real name: kill -ABRT
eric wang_2
Frequent Advisor

Re: generate core dump file

B.11.23 have no gcore

i could not use it