#!/bin/bash ### ### Shell script to clean the cache on the machine, it also lists ## current memory usage, and ### afterwards its cleared so I can compare. ### ### SimonTek April 16th, 2009 ### free -m sync; echo 3 > /proc/sys/vm/drop_caches free -m