LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-14-2012, 06:52 AM   #1
Bibek1602
LQ Newbie
 
Registered: Mar 2012
Posts: 3

Rep: Reputation: Disabled
Query regarding core dump file in linux


Hi All,

We know that core dump files are generated when a process crashes.
I want to know that if we ourselves create dump files when a process is healthy and running and save it in some location , then can we start the process again from the point when the dump file was created by using the information in the dump file ?

And what all information is actually saved in the dump file regarding the process ??

Any help is greatly appreciated..Thanks
 
Old 03-15-2012, 04:22 AM   #2
ssevercan
LQ Newbie
 
Registered: Dec 2008
Distribution: arch
Posts: 5

Rep: Reputation: 0
you can create core file fro running process with kill command
kill -s SIGABRT <process ID of victim process>
before using this command you should check limit of core file size. default core file size is 0. set unlimitid with ulimit -c unlimited ( for current shell only)
 
Old 03-16-2012, 03:54 AM   #3
Bibek1602
LQ Newbie
 
Registered: Mar 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for the reply.
I know that we can create it by killing the process. Is there any way to create a core dump for the processes while they are running and without getting them killed ?
Can we use the core dump info to restart a process from where it had created the core dump file ??
 
Old 03-22-2012, 02:19 AM   #4
ssevercan
LQ Newbie
 
Registered: Dec 2008
Distribution: arch
Posts: 5

Rep: Reputation: 0
as far as i know you can't ( both of them )
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Core Dump on Solaris (Question about core file) dayalan_cse Solaris / OpenSolaris 5 12-29-2014 07:56 AM
Core dump issues. Program crashes but does not generate core dump file sabeel_ansari Programming 1 10-07-2009 04:23 PM
Reading a core dump file c linux benni1 Programming 1 05-07-2009 05:16 AM
Core dump in Ubuntu 8.04 (Empty core file) vineet7kumar Linux - Newbie 1 01-17-2009 05:52 PM
Core Dump File squinn Linux - Software 1 02-18-2005 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration