진주성 블로그 방문하기
진주성 블로그 방문하기
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
번호 | 제목 | 날짜 | 조회 수 |
---|---|---|---|
39 | Jeus 8.5 + WebtoB 연동및 운영 | 2023.10.24 | 16 |
38 | Jeus 8.5 설치및 운영 | 2023.10.24 | 20 |
37 | Webtob Install for Windows and command | 2023.10.24 | 10 |
36 | Webtob Install for Linux | 2023.10.23 | 11 |
35 | HPUX Apache 2.4.53 다운로드 및 설치 | 2022.07.20 | 60 |
34 | qlogic qaucli command - HBA카드 온도체크 | 2022.07.05 | 45 |
33 | Red Hat Enterprise Linux technology capabilities and limits | 2021.05.13 | 30 |
32 | vi, vim ^M 제거 | 2021.04.02 | 38 |
31 | Jeus7 Getting Start Guide | 2021.03.09 | 37 |
30 | hp-ux glance Memory Sort | 2021.02.26 | 84 |
29 | 외부로 통신이 되지 않을 때 가지고 있는 CD-ROM으로 yum 사용하는 방법 | 2020.08.26 | 700 |
28 | AIX 내부적인 Memory 관리 방법 | 2020.04.15 | 380 |
27 | AIX SYSTEM CHECK SCRIPT | 2020.04.10 | 2432 |
26 | top을 통해 살펴보는 프로세스 정보들 | 2020.03.05 | 210 |
25 | netstat | 2020.02.05 | 233 |
» | Linux Cache Memory Clear | 2020.01.20 | 333 |
23 | ThreadDump 분석 | 2020.01.02 | 197 |
22 | Apache나, Tomcat 버젼 노출 취약점 | 2019.12.09 | 895 |
21 | NetBackup Port Open | 2019.11.22 | 1005 |
20 | CSQL 인터프리터 사용방법 | 2019.11.04 | 356 |