free –m 查看内存使用情况 sync数据同步写入磁盘,强制把磁盘缓冲的所有数据写入磁盘 echo 3 > /proc/sys/vm/drop_caches释放掉被系统Cache占用的数据命令 缓存清理前后对比: 相关文章: