기본 콘텐츠로 건너뛰기

pandas_ta를 적용한 통계적 인덱스 지표

우분투 메모리 관리

free 명령에 의해 메모리 상태를 검사  할 수 있습니다.

cache 메모리 삭제
root 권한 하에서 다음 명령을 실행합니다.
pagecache 해제
echo 1> /proc/sys/vm/drop_cahes

dentries, inodes 해제
echo 2> /proc/sys/vm/drop_cahes

 pagecache, dentries, inodes 해제
echo 3> /proc/sys/vm/drop_cahes

root@ ~ #cat / proc/sys/vm/drop_cahes
0
0은 drop_caches의 기본값으로 캐시메모리를 drop 하지 않음을 의미합니다.

root@ ~ #echo 3> / proc/sys/vm/drop_cahes
root@ ~ #cat / proc/sys/vm/drop_cahes
3
cache 메모리를 3으로 조정 즉,  pagecache, dentries, inodes 해제함을 의미

댓글