[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swap space ... how to see how much I allocated?



In message <FHENIMCMOMFGEINMNMLAOEEHCKAA.rvb@houston.rr.com>
	so spake "Rick Barter" (rvb):

> Or how can I tell what the 512k blocks translates into as far as
> Megabytes (output from pstat -s is below)?
> 
> Device      512-blocks     Used    Avail Capacity  Priority
> swap_device    2096955        0  2096955     0%    0

Either:
    $ env BLOCKSIZE=1m pstat -s

Or:
    $ env BLOCKSIZE=1m swapctl -l

Most OpenBSD utilities that deal with things in terms of "blocks"
will honor the BLOCKSIZE environment variable.

 - todd