Core: Difference between revisions

mNo edit summary
 
Line 1: Line 1:
* Produce a corefile for a running process with <tt>gcore</tt>(1)
* Produce a corefile for a running process with <tt>gcore</tt>(1)
* The RLIMIT_CORE [[rlimit]] specifies the maximum size of a corefile (use 0 to disable corefile generation)
* The RLIMIT_CORE [[rlimit]] specifies the maximum size of a corefile
 
** Use 0 to disable corefile generation, and "unlimited" for no explicit restriction on coredump size.
** [[pam]] might be setting a hard limit at login time. Check <tt>/etc/security/limits.conf</tt>.
==FreeBSD==
==FreeBSD==
* sysctl <tt>kern.corefile</tt> controls naming mechanisms. See the <tt>core(5)</tt> man page.
* sysctl <tt>kern.corefile</tt> controls naming mechanisms. See the <tt>core(5)</tt> man page.