LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   core dump source info (https://www.linuxquestions.org/questions/linux-kernel-70/core-dump-source-info-540959/)

suhas7860 03-27-2007 03:22 AM

core dump source info
 
My kernel version is 2.6.17. I want some information regarding core dump.

1.When there is little space left on the storage less then the require core file size, will core be written partially on the disk? Or will it not be written at all?
2. I want to modify the core dump program so that depending on the space left on the disk
core dump generate core file in the following formats
a) full core dump
b) register value + stack
c) register value only
So where is the source and configuration file in kernel for generationg core.
I expecting your help.
Regards
Suhas

zulfilee 03-27-2007 06:13 AM

I am not sure if u can make a core dump in any options u want.
Everytime it dumps it will be a full dump.
You can limit the size anyway with ulimit

Check this link :
http://www.novell.com/coolsolutions/feature/16257.html


All times are GMT -5. The time now is 10:03 PM.