home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp / 9660 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  2.1 KB

  1. From: ajs@hpfcso.FC.HP.COM (Alan Silverstein)
  2. Date: Tue, 25 Aug 1992 18:31:38 GMT
  3. Subject: Re: force stopped process to swap space ?
  4. Message-ID: <7371250@hpfcso.FC.HP.COM>
  5. Organization: Hewlett-Packard, Fort Collins, CO, USA
  6. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscdc!cupnews0.cup.hp.com!hppad.waterloo.hp.com!hppad!hpfcso!ajs
  7. Newsgroups: comp.sys.hp
  8. References: <apian.713549256@ise.fhg.de>
  9. Lines: 35
  10.  
  11. > The /etc/swapinfo command will give more correct numbers, *IF* you give
  12. > the "-t" command-line option ("-t" for "totals").
  13.  
  14. Now I wish I'd made the totals line the default, and -t an option to
  15. turn it off, rather than vice-versa...  sorry about that.
  16.  
  17. It turns out swapinfo for 8.07 was not as broken as I thought earlier.
  18. Use it and enjoy it!
  19.  
  20. There are some remaining problems that still *won't* be fixed in the
  21. next release:
  22.  
  23. * Swapinfo doesn't know that file system swap space is taken in units of
  24.   swchunk (2Mb or 4Mb by default depending on Series).  Actually it does
  25.   know this, but it subtracts the number of free pages to get what it
  26.   displays as USED.  Those free pages show up as missing (used, not
  27.   available) from df and bdf, but they don't show up as allocated by
  28.   swapinfo -- because they're not allocated.  So that disk space just
  29.   sort of vanishes, although it *is* available to the swap system.
  30.  
  31.   You only notice this if you closely compare swapinfo and df/bdf output
  32.   while file system swap is active (or you set a min value).
  33.  
  34.   I haven't thought of a good way to present this -- without adding
  35.   another dimension of confusion, given "hold space" already exists.
  36.  
  37. * Just discovered that the file system RESERVE value is being converted
  38.   with the wrong units (from the kernel), so the value displayed is
  39.   labelled Kb but is really "file system blocks", as given to swapon,
  40.   typically 8Kb.  This is only relevant if you swapon to a file system
  41.   with a reserve value.
  42.  
  43. * Swapinfo still reads /dev/kmem and uses system #define values, so
  44.   don't try running it on a system version other than the one where it
  45.   was delivered...
  46.