Blog of random things
Thursday, July 12, 2018
Sync sync sync to clear cache RAM in Linux
If you want to clear the RAM in cache, which you can see in free command use the following.
sync; echo 1 > /proc/sys/vm/drop_caches
After issuing the command wait for 5 to 10 minutes. It will clear.
Free output when cache was full.
In above image we can see almost 112GB is cached.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment