Re: can swap space be resized ?

From: David Magda (dmagda+trace030823_at_ee.ryerson.ca)
Date: 08/26/03


Date: 26 Aug 2003 15:19:06 -0400

Casper H.S. *** <Casper.***@Sun.COM> writes:

> David Magda <dmagda+trace030823@ee.ryerson.ca> writes:
>
> >True. My line of thinking was that with Solaris, by using the df(1)
> >command you can get an approximate size of the swap partition since
> >/tmp and /var/run 'reside on' it, and you can get their usage
> >statistics.
>
> It's not really the same thing; the "avail" column in df /tmp will
> show only the *available* amount of swap; and "used" will show the
> space used in /tmp, not the used swap.
>
> So it's really only a measure of available swap, if that.

ACK. That's why I said that "you can get an _approximate_ size of the
swap partition" (emphasis added).

-- 
David Magda <dmagda at ee.ryerson.ca>, http://www.magda.ca/
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well 
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI

Quantcast