You cannot see this page without javascript.

진주성 블로그 방문하기

OS Linux Cache Memory Clear

2020.01.20 18:28

구피천사 조회 수:332

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.
 
 
 
 
번호 제목 날짜 조회 수
170 Restore Database And Rename Database Files Example 2019.03.26 61715
169 Dns 보안 file 2017.08.23 20211
168 Sun t2000 manual file 2017.08.24 19927
167 AD(Active Directory) 2017.11.01 18594
166 한글 putty file 2017.09.13 11999
165 Tear Drop / Tiny Fragment / Fragment Overlap(고전적인방법) file 2017.10.17 8968
164 Cain & Abel is a password recovery tool 2018.03.12 8068
163 win-sshfs for windows file 2017.09.13 7770
162 룰 기반의 IDS(침입탐지시스템) - snort file 2017.09.27 7675
161 HP-UX snmp 중지 설정 2017.09.07 6859
160 VPN 2017.11.01 5139
159 보안관제 file 2017.11.01 4767
158 아파치 2.2.29 버젼에서 SSLProtocol 중 TLSv1.2로 설정 2019.02.27 4422
157 tcpdump - dump traffic on a network [1] file 2017.10.13 4028
156 윈도우용 wget file 2017.09.28 4017
진주성 블로그 방문하기
CLOSE