Quick Answer: How Do I Clear Filesystem Cache in Linux?
Contents How Do I Clear the Cache in Linux? How to Clear Cache in Linux? Clear Pagecache Only. # Sync; Echo 1 > /Proc/Sys/Vm/Drop_Caches. Clear Dentries and...
Contents
How do I clear the cache in Linux?
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.
6 июн. 2015 г.
What is file system cache in Linux?
The file system cache holds data that was recently read from the disk, making it possible for subsequent requests to obtain data from cache rather than having to read it again from the disk.