$ sync
$ free -m
total used free shared buffers cached
Mem: 7752 1590 6162 2 274 457
-/+ buffers/cache: 858 6894
Swap: 7887 0 7887
$ echo 1 > /proc/sys/vm/drop_caches 釋放 pagecache
$ echo 3 > /proc/sys/vm/drop_caches 釋放 pagecache, dentries和inodes
linux內存管理
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.