Re: Clearing SWAP
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/01/08 15:43, andy wrote:
> Of 2863MB of SWAP, some 1881MB are being used. This is a capture of top:
>
> 15055 andy 20 0 34520 14m 4896 R 98 1.5 0:01.60 kbuildsycoca
> 14950 andy 20 0 171m 88m 27m S 55 9.0 15:52.20 iceape-bin
> 3890 root 20 0 123m 68m 8184 S 4 7.0 41:54.30 Xorg
> 161 root 15 -5 0 0 0 S 2 0.0 0:32.91 kswapd0
> 4881 andy 20 0 19776 5672 4460 S 2 0.6 11:38.49 xfce4-systemloa
> 1 root 20 0 2032 548 520 S 0 0.1 0:05.08 init
> 2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd
[snip]
> 791 root 15 -5 0 0 0 S 0 0.0 0:01.08 usb-storage
> 816 root 15 -5 0 0 0 S 0 0.0 0:00.00 ata/0
>
> and of free:
> $ free
> total used free shared buffers cached
> Mem: 1003576 986260 17316 0 9868 139320
> -/+ buffers/cache: 837072 166504
> Swap: 2931852 1928848 1003004
>
> How can I clear out SWAP so that it does not retain redundant memory
> allocated pages?
# swapoff -a
# swapon -a
> I am thinking if SWAP can be cleared, my machine will
> be more responsive with current pages written to SWAP, rather than
> taking up space written by now obsolete processes.
I'm not sure that this will do what you want...
- --
Ron Johnson, Jr.
Jefferson LA USA
We want... a Shrubbery!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIGixoS9HxQb37XmcRAvUXAJ9Vaxj67CAoiLMKQNgzZSAumdg6hQCeLVKQ
ohjCSh7bKykktHswcwFXt/g=
=rFBa
-----END PGP SIGNATURE-----
Reply to: