home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:10165 comp.sys.sun.admin:5636 comp.sys.sun.misc:3759 alt.sys.sun:3046
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!sun-barr!news2me.ebay.sun.com!exodus.Eng.Sun.COM!appserv.Eng.Sun.COM!ouroborous.Eng.Sun.COM!limes
- From: limes@ouroborous.Eng.Sun.COM (Greg Limes)
- Newsgroups: comp.unix.questions,comp.sys.sun.admin,comp.sys.sun.misc,alt.sys.sun
- Subject: Re: Swap space usage..??
- Message-ID: <l9316tINN7g@appserv.Eng.Sun.COM>
- Date: 18 Aug 92 23:16:45 GMT
- References: <1992Aug13.204756.12770@mdd.comm.mot.com>
- Organization: Sun Microsystems, Inc.
- Lines: 33
- NNTP-Posting-Host: ouroborous
-
- In article <1992Aug13.204756.12770@mdd.comm.mot.com> pchan@mdd.comm.mot.com (Pat Chan) writes:
- | When I do "pstat -T", I get the swap space size, say X.
- | When I do "/etc/dmesg", I find the swap space is only half of X.
- | The other half is for dump space.
-
- myhost% head -1 /etc/motd
- SunOS Release 4.1.3_BETA_1.0 (LIMES) #2: Wed Jul 8 20:21:01 PDT 1992
- myhost%
-
- myhost% pstat -T
- 216/3628 files
- 300/1946 inodes
- 68/1034 processes
- 31392/66632 swap
- myhost%
-
- myhost% pstat -s
- 25360k allocated + 5624k reserved = 30984k used, 35648k available
- myhost%
-
- myhost% dmesg | grep sd6b
- swap on sd6b fstype spec size 66640K
- dump on sd6b fstype spec size 66616K
- myhost%
-
- Looks to me like everything agrees, I have ~65Meg of swap. pstat -T tells
- me that I'm using 31M of 65M; so does pstat -s. "dmesg" also tells
- me that my swap partition is 65M, and that my dump partition (for kernel
- crash dumps, RTFM "savecore") is on the same partition as my swap.
-
- I don't see where your "half of X" comes in. Perhaps if you actually
- included details like the specific version of the kernel, and the
- real outputs of the commands ... ?
-