본문 바로가기
OS/linux

🥰 리눅스 캐시 제거

by Knowledge Store In Hyunsoft 2021. 5. 26.
free -m 

 

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

 

will flush the file system buffer

sync

 

확인

free -m 
728x90

댓글