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.
 
 
 
 
번호 제목 날짜 조회 수
35 vsphere admin 문서 자료 file 2017.09.09 114
34 HP-UX에서 rsyncd 를 이용한 백업 설정 file 2017.09.07 1373
33 HP-UX snmp 중지 설정 2017.09.07 6864
32 HP-UX 서버 H/W Spec 조사 2017.09.07 1563
31 HP-UX NFS 설정 2017.09.07 2956
30 HP-UX 볼륨 추가 방법 2017.09.07 653
29 HP-UX 유지보수 방안 2017.09.02 2310
28 패스워드및 계정 정책 설정 2017.08.30 2901
27 Veritas SFCFS 점검 방법 2017.08.26 1633
26 가우스 장애관련 file 2017.08.25 303
25 보안점검 툴 file 2017.08.25 457
24 웹 서버 구축 보안점검 가이드 file 2017.08.25 168
23 windows_2008_security_guide.pdf file 2017.08.25 116
22 HPUX 보안설정 가이드 file 2017.08.25 503
21 Weblogic 보안설정 file 2017.08.25 111
진주성 블로그 방문하기
CLOSE