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

메모리 캐쉬 삭제

페이지 정보

작성자 MintState 댓글 0건 조회 17,783회 작성일 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 360건 1 페이지
Linux 목록
번호 제목 글쓴이 조회 날짜
공지 MintState 110381 10-30
359 MintState 3941 06-05
358 MintState 5679 07-30
357 MintState 7804 10-16
356 MintState 9711 11-03
355 MintState 13869 08-10
354 MintState 10364 05-21
353 MintState 10861 01-14
352 MintState 11190 09-09
351 MintState 10914 11-28
350 MintState 12985 10-11
349 MintState 11667 09-30
348 MintState 11671 08-23
347 MintState 12310 05-14
346 MintState 19751 05-29
345 MintState 20080 08-03
344 MintState 22094 07-27
343 MintState 23969 07-26
342 MintState 19087 03-30
341 MintState 19961 03-07
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2024, YesYo.com MintState. ™