Linux Lite 7.6 Final Released - Click here for more


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Free memory
#3
I use this on my servers, add it to your .bashrc

Code:
alias flushmem="sudo sh -c 'echo 1 >/proc/sys/vm/drop_caches' && sudo sh -c 'echo 2 >/proc/sys/vm/drop_caches' && sudo sh -c 'echo 3 >/proc/sys/vm/drop_caches'"
Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply


Messages In This Thread
Free memory - by LinuxNoob - 07-01-2016, 03:40 PM
Re: Free memory - by JmaCWQ - 07-01-2016, 07:52 PM
Re: Free memory - by Valtam - 07-02-2016, 12:07 PM
Re: Free memory - by LinuxNoob - 07-02-2016, 06:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)