Clean memory and SWAP

Aus WikiStar
Version vom 17. Juni 2014, 15:24 Uhr von Vkl (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<syntaxhighlight lang="bash" style="font-size:9pt;"> # clean memory cache free -m && sync && echo 3 > /proc/sys/vm/drop_caches && sync && free -m # clean SW…“)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche
# clean memory cache
free -m &&  sync &&  echo 3 > /proc/sys/vm/drop_caches && sync && free -m
 
# clean SWAP
swapoff -a && swapon -a