Re: Flushing the swap

From: Bjoern Schmidt
Date: Mon Jun 07 2004 - 17:51:49 EST


Hal Nine wrote:
Is there any way of making linux flush out all pages out of swap
space? I want to have 0K of used swap space.

swapoff -a
swapon -a


--
Greetings
Bjoern Schmidt

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/