missing swap space

George Robbins grr at cbmvax.commodore.com
Thu Feb 22 12:55:07 AEST 1990


In article <49475 at lll-winken.LLNL.GOV> booloo at lll-crg.llnl.gov (Mark Boolootian) writes:
> 
>     I have a question regarding pstat and the statistics it returns about
> swap space.  We have set aside 64 MBytes for swap and when I run pstat -s,
> it tells me that about 32 MBytes is "missing."...

cbmvax% pstat -s
131072k swap configured
	39225k used (3264k text, 96k smem)
	92264k free, 23820k wasted, -417k missing
avail: 19*4096k 1*2048k 2*1024k 4*512k 6*256k 39*128k 1768*1k

Somehow, I've never had much faith in the "missing" number...

"wasted" is easy, it's more or less the difference between what you've
specified in the "swap on" in the config file and what you've added
with the "swapon" command.

"used" is painful, because every getty and task you have sitting there
idle takes up a chunk.  Back when I was short of swap space, I found that
I could actually take a big chunk out of "used" by increasing dmmin so
that getty would fit in the initial allocation instead of requiring
additional (bigger) allocations.

-- 
George Robbins - now working for,     uucp:   {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing:   domain: grr at cbmvax.commodore.com
Commodore, Engineering Department     phone:  215-431-9349 (only by moonlite)



More information about the Comp.unix.wizards mailing list