- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- dumping core from a running process.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 07:58 AM
03-14-2008 07:58 AM
Can a process dump core and keep on running?
One way I could think of is:
fork and call abort in child.
Somewhere I have also come across a library which had routines which can generate a core for the running process. (you need to link with that lib and call a routine from that lib and it will dump core but continue running)
But I am not sure whether it was/is for HP-UX.
am again trying to find that, will post the link here.
Is there any signal in HP which does this ?
Thanks
Sri
Solved! Go to Solution.
- Tags:
- gcore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 08:03 AM
03-14-2008 08:03 AM
Re: dumping core from a running process.
http://www.gsp.com/cgi-bin/man.cgi?section=1&topic=gcore
more coming...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 08:19 AM
03-14-2008 08:19 AM
Re: dumping core from a running process.
I was looking for something on native HP-UX commands but nothing about letting the process running, I has tried some options on kill:
kill -11
does force the core generation but kill the process also.
Here instead the gcore for HP-UX (that was for 11.00) provided by Dave Olker (HP):
<>
Also Ermin suggested another interesting tool, gdb has dumpcore. Download gdb from Porting:
<>
Hope this helps you.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 08:27 AM
03-14-2008 08:27 AM
Re: dumping core from a running process.
>><>
Due to the presence of characters known to be used in Cross Site Scripting attacks, access is forbidden. This web site does not allow Urls which might include embedded HTML tags.
<>
I am some method which i may be used in a process to dump core and keep running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 08:32 AM
03-14-2008 08:32 AM
Re: dumping core from a running process.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=1094
47626+1205511296320+28353475&threadId=675379
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 09:22 AM
03-14-2008 09:22 AM
Re: dumping core from a running process.
otherwise put in google
gcore hp-ux
and the first link you'll find is what I and Pete posted.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 09:34 AM
03-14-2008 09:34 AM
Re: dumping core from a running process.
so a call to kill(SIGIOT) should solve my problem.
Never tried using this signal, will try this on monday.
- Tags:
- SIGIOT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 03:47 PM
03-14-2008 03:47 PM
Re: dumping core from a running process.
Don't even think of using this bogus signal, erase it from your head. This is an obsolete name for SIGABRT, which of course will not continue.
Also, I think the intention in that old thread was not to continue.
On 11.31, there is a gcore(1) command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 06:46 PM
03-14-2008 06:46 PM
Re: dumping core from a running process.
IOT is erased :)
what does gcore do to get a core dump from a process, Is there a sys API which gcore calls with pid of the process or smthing like that?
Parallely I am also trying to find out what does gcore actually do to get a core.
Thanks
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 08:49 PM
- Tags:
- ttrace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2008 11:43 PM
05-30-2008 11:43 PM