home *** CD-ROM | disk | FTP | other *** search
- From: ajs@hpfcso.FC.HP.COM (Alan Silverstein)
- Date: Tue, 25 Aug 1992 18:31:38 GMT
- Subject: Re: force stopped process to swap space ?
- Message-ID: <7371250@hpfcso.FC.HP.COM>
- Organization: Hewlett-Packard, Fort Collins, CO, USA
- 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
- Newsgroups: comp.sys.hp
- References: <apian.713549256@ise.fhg.de>
- Lines: 35
-
- > The /etc/swapinfo command will give more correct numbers, *IF* you give
- > the "-t" command-line option ("-t" for "totals").
-
- Now I wish I'd made the totals line the default, and -t an option to
- turn it off, rather than vice-versa... sorry about that.
-
- It turns out swapinfo for 8.07 was not as broken as I thought earlier.
- Use it and enjoy it!
-
- There are some remaining problems that still *won't* be fixed in the
- next release:
-
- * Swapinfo doesn't know that file system swap space is taken in units of
- swchunk (2Mb or 4Mb by default depending on Series). Actually it does
- know this, but it subtracts the number of free pages to get what it
- displays as USED. Those free pages show up as missing (used, not
- available) from df and bdf, but they don't show up as allocated by
- swapinfo -- because they're not allocated. So that disk space just
- sort of vanishes, although it *is* available to the swap system.
-
- You only notice this if you closely compare swapinfo and df/bdf output
- while file system swap is active (or you set a min value).
-
- I haven't thought of a good way to present this -- without adding
- another dimension of confusion, given "hold space" already exists.
-
- * Just discovered that the file system RESERVE value is being converted
- with the wrong units (from the kernel), so the value displayed is
- labelled Kb but is really "file system blocks", as given to swapon,
- typically 8Kb. This is only relevant if you swapon to a file system
- with a reserve value.
-
- * Swapinfo still reads /dev/kmem and uses system #define values, so
- don't try running it on a system version other than the one where it
- was delivered...
-