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