Jun 24, 2014

Core dump

Allow core dump
Permanent:
sudo vi /etc/security/limits.conf
#add line
#YOUR_USERNAME     soft    core            1000000
Temporary:
ulimit -c unlimited
Core dump
sleep 30
# Type Control-\
Quit (core dumped)
kill -ABRT <PID>
# 11602 abort (core dumped)
In C
abort()
Core dump misc
cat /proc/sys/kernel/core_pattern
man 5 core
cat /proc/PID/coredump_filter

No comments: