• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 573
  • Last Modified:

Solaris core dump question

When the server is in ok prompt we can panic the server using sync command. What is the point of getting that core dump? Oracle is asking to give core dump.
0
mokkan
Asked:
mokkan
  • 2
  • 2
2 Solutions
 
omarfaridCommented:
crash dumps are memory dump of the machine at crash time. It contains info that support will use to identify why the crash happened. please see links below for how to manage crash dumps


http://docs.oracle.com/cd/E23824_01/html/821-1451/tscrashdumps-4.html#scrolltoc
http://docs.oracle.com/cd/E23824_01/html/821-1451/tscrashdumps-31.html
0
 
mokkanAuthor Commented:
When sever is down. How is it going to have information in memory?
0
 
omarfaridCommented:
when system crashes or panic, it dumps the memory content to hard disk. Here some quoted description:

" When a panic occurs on a Solaris system, a message describing the error is usually echoed to the system console. The system will then attempt to write out the contents of the physical memory to a predetermined dump device, which is usually a dedicated disk partition, or the system swap partition. Once this is completed, the system is then rebooted.

Once the system begins rebooting, a startup script will call the savecore utility, if enabled. This command will perform a few tasks on the memory dump. First it will check to make sure that the crash dump corresponds to the running operating system. If the dump passes this test, savecore will then begin to copy the crash dump from the dedicated dump device to the directory /var/crash/`uname -n', or some other predetermined device. The dump is written out to two files, unix.n and vmcore.n, where n is an sequential integer identifying this particular crash. Finally, savecore logs a reboot using the LOG_AUTH syslog facility. "
0
 
mokkanAuthor Commented:
Thank you very much guys.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now