home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:10168 comp.sys.sun.admin:5639 comp.sys.sun.misc:3761 alt.sys.sun:3047
- Newsgroups: comp.unix.questions,comp.sys.sun.admin,comp.sys.sun.misc,alt.sys.sun
- Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ukma!nntp.msstate.edu!news
- From: fwp@CC.MsState.Edu (Frank Peters)
- Subject: Re: Swap space usage..??
- Message-ID: <1992Aug19.015001.7215@ra.msstate.edu>
- Sender: news@ra.msstate.edu
- Nntp-Posting-Host: jester.cc.msstate.edu
- Organization: Computing Center, Mississippi State University
- References: <1992Aug13.204756.12770@mdd.comm.mot.com> <l9316tINN7g@appserv.Eng.Sun.COM>
- Date: Wed, 19 Aug 1992 01:50:01 GMT
- Lines: 23
-
- In article <l9316tINN7g@appserv.Eng.Sun.COM> limes@ouroborous.Eng.Sun.COM (Greg Limes) says:
- : 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.
- :
- : 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 ... ?
-
- I'll betcha the system is swapping to two equally sized partitions on
- two disks. The value returned by dmesg is the size of the first swap
- partition since it comes before swapon has added additional
- partitions. The pstat, of course, reflects the total of all swap space
- allocated via swapon.
- --
- Frank Peters - UNIX Systems Programmer - Mississippi State University
- Internet: fwp@CC.MsState.Edu - Phone: (601)325-7030 - FAX: (601)325-8921
-