Article View: aus.computers.linux
Article #56658Re: Disabling core dumps (Was: Re: Customising RH Kernel)
From: Hannu Hyvarinen
Date: Sat, 25 Jan 1997 00:00
Date: Sat, 25 Jan 1997 00:00
28 lines
1581 bytes
1581 bytes
On 22 Jan 1997 23:31:33 -0700, murphy@CS.Arizona.EDU (John B Murphy) wrote: >Jason Stokes <j.stokes@student.anu.edu.au> wrote: >>Regarding customising the kernel, how do I de-enable core dumps? I hope >>this isn't a stupid question, but it doesn't seem immediately obvious how >>this can be accomplished. >> > >This isn't a kernel question. It can be accomplished by using >your shell. > >In bash, add "ulimit -c <corefilesize>" to /etc/profile. > >If you have (t)csh users, add "limit coredumpsize <corefilesize>" to >/etc/csh.cshrc. > >Set corefilesize to 0 and you won't get core files. > >-- >Brian Murphy >murphy@ns.arizona.edu > If it is that easy, why isn't it in the operating system as default. I guess in other words, is there a purpose for core files in the unix system? Hannu
Technical Details
Message-ID:
<5cbr9a$bch@nr1.toronto.istar.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bbda57$8581b220$78fbcea0@kahedy.hansen.com.au> <01bbdab6$dc50b380$LocalHost@oldputer> <32e6312d.0@bohm.anu.edu.au> <5c70k5$2jv@lectura.CS.Arizona.EDU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,47f256e43a2a9b04 X-Google-Attributes: gid102983,public X-Google-Thread: f9b51,47f256e43a2a9b04 X-Google-Attributes: gidf9b51,public X-Google-Thread: 100df9,47f256e43a2a9b04 X-Google-Attributes: gid100df9,public From: hannu@ils.net (Hannu Hyvarinen) Subject: Re: Disabling core dumps (Was: Re: Customising RH Kernel) Date: 1997/01/25 Message-ID: <5cbr9a$bch@nr1.toronto.istar.net> X-Deja-AN: 212032340 references: <01bbda57$8581b220$78fbcea0@kahedy.hansen.com.au> <01bbdab6$dc50b380$LocalHost@oldputer> <32e6312d.0@bohm.anu.edu.au> <5c70k5$2jv@lectura.CS.Arizona.EDU> organization: iSTAR internet Incorporated newsgroups: aus.computers.linux,comp.os.linux.admin,comp.os.linux.setup