Is there way to compress the core files during core dump generation?
If the storage space is limited in the system, is there a way of conserving it in case of need for c
The Linux kernel /proc/sys/kernel/core_pattern file will do what you want: http://www.mjmwired.net/kernel/Documentation/sysctl/kernel.txt#141
/proc/sys/kernel/core_pattern
Set the filename to something like |/bin/gzip -1 > /var/crash/core-%t-%p-%u.gz and your core files should be saved compressed for you.
|/bin/gzip -1 > /var/crash/core-%t-%p-%u.gz