YesYo.com MintState Forums
뒤로    Go3.co.kr MintState BBS > Tech > Linux
검색
멤버이름    오토
비밀번호 
 

메모리 캐쉬 삭제

페이지 정보

작성자 MintState 댓글 0건 조회 18,091회 작성일 11-01-28 01:40

본문

리눅스에 메모리가 꽉차 캐쉬를 지우고 싶을때 리부팅하지 않고 캐쉬를 지울수 있다.

우선 메모리 확인 -m은 메가바이트 단위로 보여준다.
# free -m



그럼 캐쉬 삭제는 echo 명령어를 사용하면 된다.
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:
# 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.
첨부 파일
파일 종류: gif free.gif (14.0K, 43 views)

댓글목록

등록된 댓글이 없습니다.

Total 361건 2 페이지
Linux 목록
번호 제목 글쓴이 조회 날짜
341 MintState 20405 03-07
340 MintState 20541 02-14
열람중 MintState 18092 01-28
338 MintState 19829 01-12
337 MintState 19018 06-23
336 MintState 18265 01-28
335 MintState 21484 09-04
334 MintState 22940 05-08
333 MintState 22967 05-08
332 MintState 17930 04-13
331 MintState 20932 04-13
330 MintState 16637 01-05
329 MintState 18451 01-05
328 MintState 17832 01-05
327 MintState 27280 01-05
326 MintState 17298 01-05
325 MintState 18909 01-05
324 MintState 15005 01-05
323 MintState 21137 01-05
322 MintState 16362 01-05
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2025, Go3.co.kr MintState. ™