1, sudo su
/ Profile 2, vim / etc
add -c Unlimited ulimit
3, to create a core folder in your home directory, for example, I created a folder in the core / Home / JI
4, vim /etc/sysctl.conf
Add
kernel.core_pattern = / Home / houdar / Core / E_ core_%%% T P_
kernel.core_uses_pid = 0
Description:
% E filename
% p process PID
% time T
5, reboot the computer to restart
ubuntu coredump open position and set the core file is generated
Guess you like
Origin www.cnblogs.com/hysea2019/p/10983629.html
Recommended
Ranking