memory cache 비우기 (linux command)

created : 2020-06-02T11:39:40+00:00
modified : 2020-06-27T06:14:35+00:00
linux memory cache

pagecache 해제

echo 1 > /proc/sys/vm/drop_caches

dentries, inodes 해제

echo 2 > /proc/sys/vm/drop_caches

pagecache, dentries, inodes 모두 해제

echo 3 > /proc/sys/vm/drop_caches

플러싱하기

sync

출처