진주성 블로그 방문하기
진주성 블로그 방문하기
OS Linux Cache Memory Clear
2020.01.20 18:28
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.
댓글 0
번호 | 제목 | 날짜 | 조회 수 |
---|---|---|---|
170 | 급증하는 키싱(Qishing) 공격 | 2023.11.14 | 8 |
169 | tibero 7 install for linux | 2023.11.06 | 19 |
168 | Red Hat Enterprise Linux Certification Matrix for Dell PowerEdge Servers | 2023.11.02 | 13 |
167 | Tibero test sql문, SCHEMA_OBJECT_SAMPLE | 2023.10.25 | 8 |
166 | Tibero 관리 3 | 2023.10.25 | 11 |
165 | Tibero 관리 2 | 2023.10.25 | 22 |
164 | Tibero 접속 및 관리 | 2023.10.25 | 44 |
163 | Jeus 8.5 + WebtoB 연동및 운영 | 2023.10.24 | 15 |
162 | Jeus 8.5 설치및 운영 | 2023.10.24 | 20 |
161 | Webtob Install for Windows and command | 2023.10.24 | 10 |
160 | Webtob Install for Linux | 2023.10.23 | 11 |
159 | HPUX Apache 2.4.53 다운로드 및 설치 | 2022.07.20 | 53 |
158 | qlogic qaucli command - HBA카드 온도체크 | 2022.07.05 | 43 |
157 | 2021년도 주요정보통신기반시설 기술적 취약점 분석ㆍ평가 방법 상세가이드 | 2022.06.23 | 35 |
156 | Apache Log4j 취약점및 대응방안 | 2022.02.05 | 40 |