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