You cannot see this page without javascript.

진주성 블로그 방문하기

OS Linux Cache Memory Clear

2020.01.20 18:28

구피천사 조회 수:334

Linux Cache Memory Clear
 
커널상에서 캐쉬를 클리어하게 만드는 값으로 1,2,3 중에 하나를 사용하면 된며 커널 2.6.16 이상에서부터 추가되서 사용가능하다.
To free pagecache: (페이지케쉬 클리어)
  • echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes: (트리와 아이노드 클리어)
  • echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes: (1번과 2번 모두 클리어)
  • echo 3 > /proc/sys/vm/drop_caches
As this is a non-destructive operation, and dirty objects are not freeable, the user should run "sync" first in order to make sure all cached objects are freed.
 
 
 
 
번호 제목 날짜 조회 수
170 NVIDIA_GRID_VMware file 2017.08.23 706
169 OS 별 shutdown 명령어 2017.08.23 146
168 시만텍 ssr 백업 file 2017.08.23 141
167 정보 보안기사 file 2017.08.23 222
166 튜닝 교육 자료 file 2017.08.23 234
165 Vtl quick start guide file 2017.08.23 461
164 Linux shell script file 2017.08.23 156
163 Dns 보안 file 2017.08.23 20211
162 Ipsec for windows file 2017.08.23 126
161 Aqua phonic plant glows file 2017.08.24 3627
160 Ftp passive mode file 2017.08.24 132
159 Oracle asm file 2017.08.24 494
158 Sun t2000 manual file 2017.08.24 20008
157 IBM ds3500 guide file 2017.08.24 815
156 안전한 패스워드 가이드 file 2017.08.24 175
진주성 블로그 방문하기
CLOSE