home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / ultrix / 6852 < prev    next >
Encoding:
Text File  |  1992-09-11  |  2.1 KB  |  53 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!spool.mu.edu!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!giac1.oscs.montana.edu!osycs
  3. From: osycs@giac1.oscs.montana.edu (Craig Spannring)
  4. Subject: Re: Fragmented swap space
  5. Message-ID: <1992Sep12.031803.2313@coe.montana.edu>
  6. Keywords: swapon
  7. Sender: usenet@coe.montana.edu (USENET News System)
  8. Organization: Geographic Information & Analysis Center Montana State University
  9. References: <1992Sep11.101522.9410@linda.lidac.liu.se>
  10. Date: Sat, 12 Sep 1992 03:18:03 GMT
  11. Lines: 40
  12.  
  13. In article <1992Sep11.101522.9410@linda.lidac.liu.se> thenglid@linda.lidac.liu.se (Thomas Engstrom) writes:
  14. >The output of pstat -s on one of our DECsystem 5500 looks like this:
  15. >
  16. >% pstat -s
  17. >228416k swap configured
  18. >122016k reserved virtual address space
  19. >        272k used (160k text, 0k smem)
  20. >        132840k free, 0k wasted, 95304k missing
  21. >avail: 4151*32k 8*1k
  22. >
  23. >The manual says that the 95304k missing is due to fragmentation of the
  24. >swap partition. 
  25.  
  26. Actually, fragmented memory is reported as the wasted space by pstat.
  27. The missing memory that pstat reports is probably swap space that is
  28. configured in the kernel, but not actually mounted at this time.  What
  29. this means is that you have a line in your configuration file that
  30. looks like-
  31.  
  32.   config  vmunix  root on rz2a  swap on rz2b and rz3b  dumps on rz2b
  33.  
  34. This line configures the kernel to use /dev/rz3b as a secondary swap
  35. partition.  To actually start using the secondary swap space you need
  36. to add an entry to your /etc/fstab for /dev/rz3b as a swap device like-  
  37.  
  38.   /dev/rz3b::sw:0:0:::
  39.  
  40. Next execute swapon(8) in your /etc/rc like-
  41.  
  42.   /etc/swapon -a >/dev/console
  43.  
  44. P.S.  Remember to check that you don't have a file system mounted
  45.       on the secondary swap space.  If you do, the swap space will 
  46.       overwrite your files, and bad things will happen to nice systems.
  47.  
  48. -- 
  49. =========================================================================
  50.  Six of one, 110 (base 2) of | Craig Spannring --- (406) 994-6128
  51.  another.                    | osycs.giac1.oscs.montana.edu
  52.  ----------------------------+ Geographic Information & Analysis Center
  53.