home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sun / misc / 4221 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.6 KB  |  39 lines

  1. Newsgroups: comp.sys.sun.misc
  2. Path: sparky!uunet!destroyer!ubc-cs!unixg.ubc.ca!physics.ubc.ca!unruh
  3. From: unruh@physics.ubc.ca (William Unruh)
  4. Subject: Re: tmp doesn't seem to be clearing. . .
  5. Message-ID: <unruh.716516734@physics.ubc.ca>
  6. Keywords: tmp files hvtmp
  7. Sender: news@unixg.ubc.ca (Usenet News Maintenance)
  8. Nntp-Posting-Host: physics.ubc.ca
  9. Organization: University of British Columbia, Vancouver, B.C., Canada
  10. References: <1992Sep10.120029.6372@eng.ufl.edu> <2096@dutiws.tudelft.nl>
  11. Date: Tue, 15 Sep 1992 00:25:34 GMT
  12. Lines: 25
  13.  
  14. graaff@dutiws.tudelft.nl (Hans de Graaff) writes:
  15.  
  16. >In article <1992Sep10.120029.6372@eng.ufl.edu> dlopata@stat.ufl.edu (David Lopata) writes:
  17. >>Every couple of days, I find myself clearing out the /tmp directories on the ELCs,
  18. >>because the file system files up.  Most of the files in /tmp are zero byte files, but there are 
  19. >>several, named hvtmpAAAa0???? that take up serious disk space.
  20. >>
  21. >>    Is it just me, or should /tmp be clearing when the user logs off?  Did I miss a flag
  22. >>somewhere? 
  23.  
  24. >As far as I know SunOs only clears files in tmp on a reboot, not on a
  25. >logout. The hvtmp* files are generated by HelpViewer, the PostScript
  26. >help thing that gets started up automatically from the standard
  27. >openwin-init script. If a user leaves OpenWin without explicitly
  28. >quitting the helpviewer it will not remove its tmp-file, which is only
  29. >about 800K... One solution is to remove the helpviewer from the
  30. >default startup-script.
  31.  
  32. >Hans
  33. >--
  34.  
  35.  
  36. Another is to run a cron every night to clear out old tmp files ( say
  37. older than 3 days) eg
  38. 30 4 * * * find /tmp/ \( -atime +3 -a ! -type d \) -exec rm -f {} \;
  39.