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
For an embedded Linux systems, following script change perfectly works to generate compressed core files in 2 steps
touch /bin/gen_compress_core.sh
chmod +x /bin/gen_compress_core.sh
cat > /bin/gen_compress_core.sh
#!/bin/sh
exec /bin/gzip -f - >"/var/core/core-$1.$2.gz"
ctrl +d
cat > /proc/sys/kernel/core_pattern
|/nuova/bin/gen_compress_core.sh %e %p
ctrl+d