Yes, the main file is a dump of the entire area of virtual memory used by the process when a failure occurs. You cannot have more than 4 GB of the main file with 32-bit processes.
On Solaris, you can use several commands located in / usr / proc / bin to get information from the main file, in particular:
- File Kernel: Confirm that the main file is in your process.
- pstack core: will tell you where the process failed
- pmap core: show you memory usage per address
You can limit the set of data stored in the main file, among other things, using the coreadm command. By default, everything is saved (stack + heap + shm + ism + dism + text + data + rodata + anon + shanon + ctf).
source share