{{tag>os linux}}

====== Очистка Memory Cache, Buffer and Swap  ======

<code bash>
$ sync; echo 3 > /proc/sys/vm/drop_caches 
$ echo 3 > /proc/sys/vm/drop_caches && swapoff -a && swapon -a && printf '\n%s\n' 'Ram-cache and Swap Cleared'
</code>