Re: How to enable core dump
Originally Posted by
Alex Farber
To get core dump from my program, I execute the following commands from the terminal:
ulimit -c unlimited
myprogram
After program crash, I see core file in the home directory. How can I make this mode persistent, to have code dump always?
hi
you can find the file limits.conf in /etc/security
as super user you can edit this file ( at end of the file insert )
your_username soft core 100000
your_username hard core 500000
the values are only an example !
have a look at --> man limits.conf
you have to logout and login again to get the new configuration of your limits.
ciao
"What is the robbing of a bank compared to the FOUNDING of a bank?" Berthold Brecht