home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10241 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.6 KB

  1. Path: sparky!uunet!zephyr.ens.tek.com!uw-beaver!ubc-cs!newsserver.sfu.ca!sfu.ca!vanepp
  2. From: vanepp@fraser.sfu.ca (Peter Van Epp)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: Swap space usage..??
  5. Message-ID: <vanepp.714366532@sfu.ca>
  6. Date: 21 Aug 92 03:08:52 GMT
  7. References: <1992Aug13.204756.12770@mdd.comm.mot.com> <l9316tINN7g@appserv.Eng.Sun.COM> <27434@sophia.inria.fr> <9223410.4967@mulga.cs.mu.OZ.AU>
  8. Sender: news@sfu.ca
  9. Organization: Simon Fraser University, Burnaby, B.C., Canada
  10. Lines: 28
  11.  
  12. gja@mullian.ee.mu.oz.au (Grenville Armitage) writes:
  13.  
  14. >In article <27434@sophia.inria.fr> rriv@oural.inria.fr (Robert Riviere) writes:
  15. >    [...]
  16. >>myhost%df
  17. >>Filesystem            kbytes    used   avail capacity  Mounted on
  18. >>...
  19. >>swap                   36828     952   35876     3%    /tmp
  20. >>...
  21. >>What is my swap size ? 60 Mo, 40Mo or 36 Mo ...
  22.  
  23. >I don't know how you got a device listed here as "swap", but if it's
  24. >mounted on /tmp then it ain't swap space.
  25.  
  26. >Look for an entry listed as "swap" in /etc/fstab for another partition
  27. >being used as swap space. (mentioned by a previous poster).
  28.  
  29. >gja
  30.  
  31. If this is a Sun and it is using something called tmpfs, then (as it was 
  32. explained to me just today) yes this is both /tmp and swap. Whatever
  33. amount of space is not in use for swap is the amount of /tmp you have, and
  34. the amount varies as swap is used up. This came up because when we ran this
  35. way a product was having trouble getting a lockf() type lock in /tmp, moving
  36. /tmp to being a sym link into /usr/tmp fixed the problem.
  37.  
  38. Peter Van Epp / Operations and Technical Support 
  39. Simon Fraser University, Burnaby, B.C. Canada
  40.