Info on Core dumps

Anyone know of a good site where I can get some good info on core dumps.
I know that these are created when a process fails, but want to know where to find them and how to re-start the process that failed using teh core file.
PenfoldAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jonkeCommented:
If a program/process fails, and it has been designed to do so, it will dump the state of the process running in the machines memory. This is a core dump. Through core dump analysis, you can the then work out why/what happened to make the process fail.

I am not sure that you can use a core  dump to restart a process. You would normally use tools to analyse the dump. A typical Solaris OS dump can be 30meg plus, and is not something you can read normally.

A process can dump wherever it has been configured to dump, but for example, a traditional Solaris dump would be put in /var/crash/<hostname> and be called unix.N where N= the crash no.

0
jaranCommented:
You aren't going to find any method of restarting the crashed process using the core file that I can think of.. if you have the correct resources, you could use a debugger like adb to examine the core file - if you just want to look at which executable caused the core, issue "file <corefile>" - it should tell you some linking information, as well as the name of the executable that left the core.

core files are generally more useful to developers with the source of the program, so they can determine where and why the crash took place.
0
jonkeCommented:
Hang on- you just copied what I said
0
CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

PenfoldAuthor Commented:
Sorry Jaran, but Jonke got there first.
Jonke, if you'd post your comment as the answer please !

Thanks

Penfold
0
jaranCommented:
Sorry, was hoping to add a little depth, not take credit.
0
RandybCommented:
Just as a side-note...depending on the application, core files can be considerably larger than 30MB. They really are for professional analysis. Example on our systems using SAP R3 ..a typical core is about 300-800MB...not much chance of pulling up that file in an editor.

Think you have what you need from above ...good luck !
0
jonkeCommented:
That's cool. A core dump from a maxed out E10k that panics will obviously be much larger than 30 meg- and from a small application, might be smaller. It's horses for courses.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
prafullakhCommented:
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.