To enable core dumps to persistent storage mounted on /mnt on your embedded device with the filename appended to the core name, also make applications started as root to dump core.
ulimit -c unlimited
echo "/mnt/core.%e" > /proc/sys/kernel/core_pattern
echo "1" > /proc/sys/fs/suid_dumpable
9/16/09
Subscribe to:
Posts (Atom)