edwinwang.com
—
by
在 kernel 2.6.16 以上可使用: echo 1 > /proc/sys/vm/drop_caches echo 2 > /proc/sys/vm/drop_caches 查看内存使用情况: free -m