Is there a command to load all swap into the memory?
Bill Moran
wmoran at potentialtech.com
Tue Feb 23 20:33:16 UTC 2010
In response to Yuri <yuri at rawbw.com>:
> I am asking out of curiosity.
> 'top' describes the memory state on my machine like this:
> Mem: 1085M Active, 196M Inact, 301M Wired, 36M Cache, 112M Buf, 1366M Free
> Swap: 16G Total, 757M Used, 16G Free, 4% Inuse
>
> There is enough space in memory to load back all swap. Is there a
> command to do that for all swap?
> This will speed up immediate system response in the future.
You could use swapoff, then swapon to readd the device.
--
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
More information about the freebsd-questions
mailing list