IPASTE
ID Profile picture Author Share Syntax Rating Source Inserted on Valid until Size
1203 Guest' profile picture Guest FACEBOOK GOOGLE+ TWITTER LINKEDIN bash 10 askubuntu.com 1 year 6 months ago 998 years 5 months 1.11 KB
Views Downloads Status Password Short URL Embedded code
4690 138 VISIBLE NOT PROTECTED
This page was cached. So that, some paste properties could not be updated.

Clean or disable the memory cache ubuntu 12.04

after the above note, if you still feel "cleaning" the cache could help, you can certainly try: it's a one-liner from the terminal:  sync && echo 3 | sudo tee /proc/sys/vm/drop_caches there's no easy way to disable the cache, but you can achieve the same effect by cleaning it as often as every minute, if you want to:  make it a cron-job press alt-f2, type gksudo gedit /etc/crontab, and add this line near the bottom:  */15 * * * * root sync && echo 3 > /proc/sys/vm/drop_caches
  1. 4
  2. down vote
  3. accepted
  4. note: linux is not "eating" your ram! please take a look at geirha's excellent answer below to understand why...
  5.  
  6. after the above note, if you still feel "cleaning" the cache could help, you can certainly try: it's a one-liner from the terminal:
  7.  
  8. sync && echo 3 | sudo tee /proc/sys/vm/drop_caches
  9. there's no easy way to disable the cache, but you can achieve the same effect by cleaning it as often as every minute, if you want to:
  10.  
  11. make it a cron-job
  12. press alt-f2, type gksudo gedit /etc/crontab, and add this line near the bottom:
  13.  
  14. */15 * * * * root sync && echo 3 > /proc/sys/vm/drop_caches
  15.  
  16. this cleans every 15 minutes. you can set to 1 or 5 minutes if you really want to by changing the first parameter to * or */5 instead of */15
  17. one liner to know real free ram, excepting cache
  18. geirha's answer explains the details, but in short, you get the number of free megabytes with:
  19.  
  20. free -m | sed -n -e '3p' | grep -po "\d+$"
  21. which on my 2gb command-line server returns an extremely health 1835.
  22.  
  23. shareimprove this answer
  24. edited jun 27 at 9:58
  25.  
  26. answered jun 25 at 12:49
  27.  
  28. izx
  29. 39.6k44792

RAW data

Теги

#ram
#ubuntu
#12.04
#clean
#clear
#tutorial
#cache
#ubuntu cache disable
#drop_caches ubuntu 12.04
#sync echo 3 /proc/sys/vm/drop_caches cron
#12.04 echo 3> proc/sys/vm/drop_caches
#sync echo 3 /proc/sys/vm/drop_caches ubuntu
#ubuntu+synchronize cache+abschalten
#ubuntu /proc/sys/vm/drop_caches
#ram full of cache ubuntu 12.04
#clear memory cache ubuntu 12.04
#drop memory cache ubuntu automatically
#ubuntu 12.04 ram cache leeren
#ubuntu 12.04 cached ram
#ubuntu "clear memory cache"
#sync echo 3 /proc/sys/vm/drop_caches cron every 5 minutes
#sync ram with ubuntu 12.04
#ubuntu 12.04 clear cache ram
#cache memory is very high on ubuntu 12.04
+/proc/sys/vm/drop_caches">#* * * sync && echo "3" > /proc/sys/vm/drop_caches
#disable update cache in ubuntu 12.04
#ubuntu 12.04 ram cache freigeben
#cron job echo 3 > /proc/sys/vm/drop_caches
#ubuntu cron free ram
#ubuntu 12.04 max ram cache
#cache memory does not come down on ubuntu 12.04
#clear cache ubuntu echo proc
#ubuntu 12.04 clean ram
#ubuntu 12.04 clear cache memory
#ubuntu 12.04 automatically empty cache
#how to clear cache in ubuntu 12.04
#ubuntu cron memory
#ubuntu 12.04 clear cache and cookies
#ubuntu drop_caches
#ubuntu disable caching
#cached memory ubuntu
#how to empty the cache in ubuntu 12.04?
#swap ubuntu 12.04 leeren
#echo > 3 ubuntu
#bash zwischenspeicher leeren#
#drop_caches ubuntu automatic
#ubuntu 12.04 not cleaning cache
#cache leeren ubuntu 12.04
#sync && echo 3
#ubuntu 12.04 probleme zwischenspeicher
#sync su sync su echo 3 > /proc/sys/vm/drop_caches bash
#ubuntu disable cache
#ubuntu clear cache bash
#ubuntu bash free ram
#ubuntu 12.04 terminal memory cache ram
#ubuntu 12.04 terminal memory cache ram firefox
#contrab free memory ubuntu
#how to disable cache memory in ubuntu
#05 * * * * root echo 3 > /proc/sys/vm/drop_caches
#ubuntu 12.04 clear memory cache
#ubuntu 12.04 clear ram
#ubuntu 12.04 clean ram cache
#ubuntu arbeitsspeicher cache leeren
#how to remove cache data in ubuntu 12.04
#how to clear memory in ubuntu 12.04
#ubuntu 12.04 release cache ram
#ubuntu 12.04 memory cache
#how to clear memory on ubuntu 12.04
#how to delete memory on ubuntu 12.04
#ubuntu command clean bash memory
#how to disable firefox cache in ubuntu 12.04
#12.04 memory cache
#free memory cron ubuntu
#ubuntu ram crontab
#cron job for auto clearing memory cache in linux
#linux cron job drop_caches
#firefox disable memory cache ubuntu
#ubuntu 12.04 drop cashe
#borrar cache javascript ubuntu 12.04
#ubuntu ram cleaning
#how to clean ram memory in ubuntu 12.04
#cache ausschalten ubuntu
#auto cache cleaner linux cron
#ubuntu 12.04 server how to drop ram cache
#ubuntu 12.04 cache not clear memory
#command to clear ram ubuntu 12.04
#firefox cache in memory ubuntu
#remove cache data in ubuntu 12.04 in command line
#clear cache in ubuntu every 5 minutes
#cron sync; echo 3 > /proc/sys/vm/drop_caches
#bash clear ram ubuntu
#vm.drop_caches ubuntu
#cache firefox su ram in ubuntu 12.04
#ubuntu 12.04 arbeitsspeicher freimachen
#ubuntu 12.04 zwischenspeicher freimachen
#auto free ram ubuntu server
#ubuntu 12.04 clean memory
#crontab drop caches
#/proc/sys/vm/drop_caches every 5 min
#automitac clear mem cache in ubuntu
#cron job sync && echo 3 | sudo tee /proc/sys/vm/drop_caches
#how to remove cache memory in linux command pdf
#automatic drop_caches linux
#ubuntu 12.04 ram löschen
#ubuntu 12.04 how to clear ram from terminal echo
#memory cache tuning ubuntu server 12.04
#ubuntu 12.04 ram freimachen
#how to clear firefox cache in ubuntu 12.04
#auto clear bash cache
#ubuntu 12.04 clean memory widget
#auto crontab clear memory cache on linux server
#how to clear cache memory in linux ubuntu 12.04
#ubuntu clear memory
#ubuntu 12.04 free ram
#ram cleaner ubuntu
#clear cache and ubuntu 12.04
#delete cache ubuntu 13
#clean caches in ubuntu 12.04
#how to clean your ram in 12.04
#ubuntu bash speicher und caches leeren
#echo min power | ubuntu 12.04
#clear ram cache linux without drop_caches
#clear java cache on ubuntu 12.04
#how to remove cashe from ubuntu 12.04
#crontab drop_caches
#avoid ram ubuntu
#disable firefox cache ubuntu 12.04
#flush memory ubuntu server cron
#drop cache on ubuntu server 12.04
#cached memory ubuntu 12.04
#cache speicher leeren ubuntu
#ram cache speicher leeren ubuntu
#limpiar+cache+ubuntu+12.04
#how to empty ram memory in terminal linux
#ubuntu 12.04 server cron cache
#ubuntu clean memory
#wo ist der cache ubuntu 12.04
#ubuntu clear memory /proc/sys/vm/drop_caches cron
#ubuntu cleaner 2012-2013
#ubuntu 9 server memory free
#cache clear command ubuntu 12.0.4
#desactiver memory cache firefox 22.0
#how clear cookies in ubuntu 12.04 through commands
#disable cache firefox ubuntu 12.04
#disable linux memory cache
#bash mem clean
#ubuntu sync&&echo
#deshabilitar cache ubuntu
#clear cache ubuntu 12.04
#firefox 23 ram cache ubuntu
#ubuntu ram cache clear automatic
#ubuntu 30 minute dropb cache ram
#ubuntu auto cache
#ubuntu ram freigeben
#ubuntu auto clear memory cache
#cron job clear cache ubuntu
#firefox cache in ubunto 1204
#ubuntu disable cache memory
#/proc/sys/vm/drop_caches disable
#clean up the cach and cookies ubuntu 12.04
#ubuntu 12.04 + purge server cache
#drop cache in ubuntu12.04 command
#echo 3 > /proc/sys/vm/drop_caches each 30 min
#clearner bash ubuntu server
#auto clear cache ram ubuntu
#linux memory cache disable
#ubuntu 12.04 auto clean
#auto clear cache ubuntu 12.04
#clean real memory in ubuntu
#free java cached memory cron
#http://www.ipaste.eu/view.php?id=1203
#clean cache bash
#clean memory cache bash
#ubuntu cache vm
#how to delete cache memory in ubuntu 12.04 in terminal
#how to delete memory on ubuntu as root
#how to clear cache memory in ubuntu 12.04
#ubuntu disabling firefox cache
#auto drop cache proc
#clean cache ubuntu
#clear memory cache */15 ubuntu
#clean cached ram with drop.c ubuntu download drop.c
#ubuntu disable ram cache
Actions
Rating
Download as
View as
Actions
Edit