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

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



Thanks to all who replied.  I found Todd Miller's to be the best one
for me:

rvb


> 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

   > -----Original Message-----
   > From: owner-misc@openbsd.org
   > [mailto:owner-misc@openbsd.org]On Behalf Of
   > Rick Barter
   > Sent: Monday, June 16, 2003 8:31 PM
   > To: OpenBSD
   > Subject: Swap space ... how to see how much I allocated?
   >
   >
   > I've Googled and searched the FAQ.  I've used pstat -s
   > to see how much
   > swap I have, but is there something comparable to doing df -h?
   >
   > Or is there something I missed about the df command that
   > would show me
   > the swap?
   >
   > 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
   >
   > Any help/guidance is appreciated.
   >
   > rvb