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

  1. Xref: sparky comp.unix.questions:10168 comp.sys.sun.admin:5639 comp.sys.sun.misc:3761 alt.sys.sun:3047
  2. Newsgroups: comp.unix.questions,comp.sys.sun.admin,comp.sys.sun.misc,alt.sys.sun
  3. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ukma!nntp.msstate.edu!news
  4. From: fwp@CC.MsState.Edu (Frank Peters)
  5. Subject: Re: Swap space usage..??
  6. Message-ID: <1992Aug19.015001.7215@ra.msstate.edu>
  7. Sender: news@ra.msstate.edu
  8. Nntp-Posting-Host: jester.cc.msstate.edu
  9. Organization: Computing Center, Mississippi State University
  10. References: <1992Aug13.204756.12770@mdd.comm.mot.com> <l9316tINN7g@appserv.Eng.Sun.COM>
  11. Date: Wed, 19 Aug 1992 01:50:01 GMT
  12. Lines: 23
  13.  
  14. In article <l9316tINN7g@appserv.Eng.Sun.COM> limes@ouroborous.Eng.Sun.COM (Greg Limes) says:
  15. : In article <1992Aug13.204756.12770@mdd.comm.mot.com> pchan@mdd.comm.mot.com (Pat Chan) writes:
  16. : | When I do "pstat -T", I get the swap space size, say X.
  17. : | When I do "/etc/dmesg", I find the swap space is only half of X.
  18. : | The other half is for dump space.
  19. : Looks to me like everything agrees, I have ~65Meg of swap. pstat -T tells
  20. : me that I'm using 31M of 65M; so does pstat -s. "dmesg" also tells
  21. : me that my swap partition is 65M, and that my dump partition (for kernel
  22. : crash dumps, RTFM "savecore") is on the same partition as my swap.
  23. : I don't see where your "half of X" comes in. Perhaps if you actually
  24. : included details like the specific version of the kernel, and the
  25. : real outputs of the commands ... ?
  26.  
  27. I'll betcha the system is swapping to two equally sized partitions on
  28. two disks.  The value returned by dmesg is the size of the first swap
  29. partition since it comes before swapon has added additional
  30. partitions.  The pstat, of course, reflects the total of all swap space
  31. allocated via swapon.
  32. --
  33. Frank Peters  -  UNIX Systems Programmer  -  Mississippi State University
  34. Internet: fwp@CC.MsState.Edu  -  Phone: (601)325-7030  -  FAX: (601)325-8921
  35.