-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-06-11 14:01, Per Jessen wrote:
Roger Oberholtzer wrote:
Try /proc/sys/vm/drop_caches
from https://www.kernel.org/doc/Documentation/sysctl/vm.txt ---------------------------------------------------------------------
Writing to this will cause the kernel to drop clean caches, dentries and
inodes from memory, causing that memory to become free.
To free pagecache: echo 1 > /proc/sys/vm/drop_caches To free dentries and inodes: echo 2 > /proc/sys/vm/drop_caches To free pagecache, dentries and inodes: echo 3 > /proc/sys/vm/drop_caches
As this is a non-destructive operation and dirty objects are not freeable, the user should run `sync' first. --------------------------------------------------------------------
But
as this empties all, not only the ones he wants, other processes read/writing to disk will delay. For instance, syslog. Or library loading. Whatever. :-) - -- Cheers / Saludos, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlG3EtQACgkQIvFNjefEBxrIvwCcDJGoQ6nKsfVlScAWJcljI0uE +y4AmwUGg+JyBU1Ap2XfTbYXkn112F/4 =tDII -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org