home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!avogadro.barnard.columbia.edu!shenkin
- From: shenkin@avogadro.barnard.columbia.edu (Peter S. Shenkin)
- Subject: Re: Inhibiting core dumps on HP7xx
- Organization: Dept. of Chem, Barnard College, Columbia U, New York
- References: <7371168@hpfcso.FC.HP.COM> <Brwwx9.CyL@ef2007.efhd.ford.com> <1992Jul25.124640.7267@resonex.com>
- Message-ID: <1992Jul26.022333.27436@ctr.columbia.edu>
- Sender: news@ctr.columbia.edu (The Daily Lose)
- Date: Sun, 26 Jul 1992 02:23:33 GMT
- X-Posted-From: avogadro.barnard.columbia.edu
- X-Posted-Through: sol.ctr.columbia.edu
- Lines: 34
-
- In article <1992Jul25.124640.7267@resonex.com> zenon@resonex.com (Zenon Fortuna) writes:
- >In article <Brwwx9.CyL@ef2007.efhd.ford.com> Mike O'Connor <mjo@fmsrl7.srl.ford.com> writes:
- >>In article <7371168@hpfcso.FC.HP.COM> acmeyer@hpfcso.FC.HP.COM (Alan
- >>C. Meyer) writes:
- >>
- >>:In comp.sys.hp, elwin@gamma.phys.clemson.edu (Lawrence E. Brown) writes:
- >>:
- >>:> I'm very tired of frequent dumps of 10-40Meg core files every
- >>:> time I have a floating exception somewhere in my code (mostly
- >>:> Fortran some C). Is there any way to prevent core dumps in
- >>:> HPUX8.0x on an HP700 series machine?
- >> (omitted example of the nocore.c code)
- >
- >I see two other ways to protect against the core dumps:
- >
- >Method 1 (brutal)
- >
- > - produce an empty file named "core" in the directory, in which you run
- > your application
- > - change the mode of this file to 444
- >
- > This will protect against creation of core (for non-superuser users)
-
- Old UNIX trick for all systems: create a DIRECTORY called core in the
- local directory; this will not be overwritten by any program trying
- to dump core, no matter who's running it. (I thought everybody knew
- this one....)
-
- -P.
- --
- ************************f*u*cn*rd*ths*u*cn*gt*a*gd*jb*************************
- Peter S. Shenkin, Department of Chemistry, Barnard College, New York, NY 10027
- (212)854-1418 shenkin@avogadro.barnard.columbia.edu shenkin@cunixf.BITNET
- ******************** The singular of "media" is "medium". ********************
-