Find the answer to your Linux question:
Results 1 to 2 of 2
I want to know the commands to clear the memory buffer in the linux server....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Location
    New Delhi
    Posts
    1

    Memory buffer Clear


    I want to know the commands to clear the memory buffer in the linux server.

  2. #2
    Just Joined!
    Join Date
    Feb 2011
    Location
    Iowa in the good ol' US of A
    Posts
    2
    There are threads all around the web that can help you out with this as it may be different between each different Distribution so it may benefit you to do a google search for flush Linux memory cache your OS distro. But this is the command I use on all of my RHEL based hosts that always does the trick. Hope this is what you are looking for.

    This is one of the less destructive of the drop caches commands that I am aware of and using sync tends to help free up more memory.

    sync; echo 3 > /proc/sys/vm/drop_caches
    Last edited by that_IT_guy; 02-07-2011 at 08:36 PM. Reason: Typos

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •