home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / hp / 8547 < prev    next >
Encoding:
Text File  |  1992-07-25  |  2.1 KB  |  48 lines

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