[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Swap space ... how to see how much I allocated?
On Mon, Jun 16, 2003 at 08:31:04PM -0500, Rick Barter wrote:
> 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
Tweak BLOCKSIZE to your liking. If you want MB:
$ env BLOCKSIZE=`expr 1024 \* 1024` pstat -s
Device 1048576-blocks Used Avail Capacity Priority
swap_device 511 0 511 0% 0
top reports swap size usage as well.