진주성 블로그 방문하기
진주성 블로그 방문하기
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
번호 | 제목 | 날짜 | 조회 수 |
---|---|---|---|
155 | Linux 보안및 성능향상을 위한 sysctl.conf 설정 | 2018.02.20 | 3975 |
154 | Aqua phonic plant glows | 2017.08.24 | 3627 |
153 | 아파치 웹서버 보안설정 | 2017.11.01 | 3419 |
152 | Sun os mirror | 2017.08.24 | 3365 |
151 | HP-UX NFS 설정 | 2017.09.07 | 2953 |
150 | 패스워드및 계정 정책 설정 | 2017.08.30 | 2901 |
149 | TCP/IP Tuning parameter | 2019.03.15 | 2874 |
148 | UNIX,Linux Command 비교 | 2018.02.27 | 2617 |
147 | Parameters for Web Server Plug-Ins | 2018.05.10 | 2436 |
146 | AIX SYSTEM CHECK SCRIPT | 2020.04.10 | 2432 |
145 | HP-UX 유지보수 방안 | 2017.09.02 | 2310 |
144 | 서버 공격에 대한 기법을 소개합니다.(고전적인 방법) | 2017.09.26 | 2014 |
143 | 정보보호시스템 구축을 위한 실무가이드 | 2019.03.20 | 1882 |
142 | 서버의 취약점 분석 할수 있는 도구들 | 2017.09.26 | 1720 |
141 | Veritas SFCFS 점검 방법 | 2017.08.26 | 1633 |