查看单个文件有多大在缓存中node
fincore filename
查看目录下全部文件有多大在缓存中git
ls ./ | xargs fincore
查看单个文件有多大在缓存中github
vmtouch filename
查看目录下全部文件有多大在缓存中shell
vmtouch ./
本文出自 qbit snap
sync; echo 1 > /proc/sys/vm/drop_caches
sync; echo 2 > /proc/sys/vm/drop_caches
sync; echo 3 > /proc/sys/vm/drop_caches
本文出自 qbit snap