By default, every Linux OS has an
efficient memory management system used to clear the buffer cache
periodically. You can manually free up the memory cache with the
following simple command:
sk@sk:~$ sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches"
However, if you want to force the Linux
OS to do clearing memory cache on a particular interval, just add the
command to cron job. Here, I show you how.
Complete StoryRelated Stories:
- Fun with Linux Commands(Oct 20, 2008)
- Four Completely Useless Linux Commands(Feb 02, 2009)
- Learning Linux Commands: ls(Feb 12, 2012)
- The 7 Deadly Linux Commands(Nov 20, 2008)
- Chaining Linux Commands Together(Feb 03, 2009)
- 10 Useful Linux Commands(Dec 31, 2009)
沒有留言:
張貼留言