진주성 블로그 방문하기
진주성 블로그 방문하기
OS Linux Cache Memory Clear
2020.01.20 18:28
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.
댓글 0
| 번호 | 제목 | 날짜 | 조회 수 |
|---|---|---|---|
| 19 | Restore Database And Rename Database Files Example | 2019.03.26 | 87736 |
| 18 | HP-UX networking - 11.31 10G NIC | 2019.03.19 | 1345 |
| 17 | hpux cmsnmpd daemon 중지 | 2019.02.28 | 528 |
| 16 | 아파치 2.2.29 버젼에서 SSLProtocol 중 TLSv1.2로 설정 | 2019.02.27 | 4615 |
| 15 | usage: raspistill [options] - Image parameter commands | 2018.11.16 | 1401 |
| 14 | hpux cron job 실행 에러 처리 방안 | 2018.07.06 | 826 |
| 13 | Parameters for Web Server Plug-Ins | 2018.05.10 | 2554 |
| 12 | SUN 솔라리스 보안취약점 조치 방안 | 2018.03.05 | 869 |
| 11 | hpux ndd tuning | 2018.02.28 | 1081 |
| 10 | UNIX,Linux Command 비교 | 2018.02.27 | 2805 |
| 9 | hpux 소프트웨어 설치및 제거 | 2018.02.27 | 713 |
| 8 | HPUX Trust Mode | 2018.02.21 | 1537 |
| 7 | Linux 보안및 성능향상을 위한 sysctl.conf 설정 | 2018.02.20 | 4491 |
| 6 | HP-UX 보안가이드라인 | 2018.02.14 | 1265 |
| 5 | [리눅스] 다른 서버에 있는 파일 가져오기(SCP 이용) | 2018.01.25 | 676 |
| 4 | /etc/xinetd.conf 설정 값 | 2017.11.09 | 322 |
| 3 |
command
| 2017.11.01 | 1817 |
| 2 |
어플리케이션 보안
| 2017.11.01 | 287 |
| 1 |
윈도우용 wget
| 2017.09.28 | 4358 |

