Monday, September 27, 2010

Free up your memory on linux

this script does help me much on my linux :


------ cut ---------------


#!/bin/sh
sync; echo 3 > /proc/sys/vm/drop_caches


-------------------------


then chmod 755 the script.. test first before put it in cron


#free -m  ( to check before and after running the script )


this cron will run once on every 30 minutes


*/30 * * * * path-to-your-script

No comments:

 Simple Python Calculator This script will allows your to calculate the integers given with the chosen operation. You can add, substract, mu...