摘要: 先使用sync命令以确保文件系统的完整性,sync 命令运行 sync 子例程,将所有未写的系统缓冲区写到磁盘中,包含已修改的 i-node、已延迟的块 I/O 和读写映射文件。再执行下面任意一条命令:Writing to this file causes the kernel to drop clean caches,dentries and inodes from memory, causing that memory to becomefree.To free pagecache, use echo 1 > /proc/sys/vm/drop_caches;to free dent 阅读全文
posted @ 2013-11-28 11:10 ifeixiang 阅读(359) 评论(0) 推荐(0) 编辑