Nguyễn Thị Thúy Quỳnh
Member
How do I clear the cache in Ubuntu?
Answer
How to Clear Cache in Linux?
Answer
How to Clear Cache in Linux?
- Clear PageCache only. # sync; echo 1 > /proc/sys/vm/drop_caches.
- Clear dentries and inodes. # sync; echo 2 > /proc/sys/vm/drop_caches.
- Clear pagecache, dentries, and inodes. # sync; echo 3 > /proc/sys/vm/drop_caches. …
- sync will flush the file system buffer.