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.
 
 
 
 
번호 제목 날짜 조회 수
155 vi, vim ^M 제거 2021.04.02 39
154 Apache Log4j 취약점및 대응방안 file 2022.02.05 42
153 qlogic qaucli command - HBA카드 온도체크 file 2022.07.05 46
152 Tibero 접속 및 관리 2023.10.25 52
151 weblogic admin 패스워드 변경 방법 2021.04.06 60
150 HPUX Apache 2.4.53 다운로드 및 설치 file 2022.07.20 62
149 개인정보 2017.11.01 75
148 hp-ux glance Memory Sort 2021.02.26 85
147 IoT 보안 2017.11.08 87
146 디지털 포렌직 조사의 일반원칙 2017.11.07 92
145 개인정보 보호법 2017.11.09 96
144 정보통신망법 2017.11.09 97
143 SSL, IPSEC 2017.11.01 99
142 전자서명법 - 공인인증서 2017.11.09 103
141 DDos 공격대응 가이드 file 2017.08.25 105
진주성 블로그 방문하기
CLOSE