우분투 메모리 캐쉬 지우기..

top – 14:27:49 up 6 days, 30 min, 2 users, load average: 0.14, 0.16, 0.15
Tasks: 196 total, 1 running, 195 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.3%us, 0.3%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3070568k total, 2946972k used, 123596k free, 270600k buffers
Swap: 9212924k total, 11336k used, 9201588k free, 2104348k cached

[email protected]:/$ free
total used free shared buffers cached
Mem: 3070568 2965368 105200 0 270656 2104712
-/+ buffers/cache: 590000 2480568
Swap: 9212924 11336 9201588
[email protected]:/$ sudo sync
[email protected]:/$ sudo -s
[email protected]:/# echo 3 > /proc/sys/vm/drop_caches
[email protected]:/# free
total used free shared buffers cached
Mem: 3070568 593564 2477004 0 2228 111788
-/+ buffers/cache: 479548 2591020
Swap: 9212924 11336 9201588
[email protected]:/#

Leave a Reply

Your email address will not be published. Required fields are marked *