dspeak@lm-vm01:~/luowl/soft/lucene-3.0.1/demo-jar$ cat /proc/sys/vm/drop_caches
3
dspeak@lm-vm01:~/luowl/soft/lucene-3.0.1/demo-jar$
dspeak@lm-vm01:~/luowl/soft/lucene-3.0.1/demo-jar$ echo 3 > /proc/sys/vm/drop_caches
-bash: /proc/sys/vm/drop_caches: Permission denied
dspeak@lm-vm01:~/luowl/soft/lucene-3.0.1/demo-jar$ free -m
total used free shared buffers cached
Mem: 1011 626 385 0 88 444
-/+ buffers/cache: 92 918
Swap: 1357 2 1354
dspeak@lm-vm01:~/luowl/soft/lucene-3.0.1/demo-jar$ sudo -s
[sudo] password for dspeak:
Sorry, try again.
[sudo] password for dspeak:
root@lm-vm01:~/luowl/soft/lucene-3.0.1/demo-jar# free -m
total used free shared buffers cached
Mem: 1011 627 383 0 88 444
-/+ buffers/cache: 94 916
Swap: 1357 2 1354
root@lm-vm01:~/luowl/soft/lucene-3.0.1/demo-jar# echo 3 > /proc/sys/vm/drop_caches
root@lm-vm01:~/luowl/soft/lucene-3.0.1/demo-jar# free -m
total used free shared buffers cached
Mem: 1011 29 981 0 0 4
-/+ buffers/cache: 25 985
Swap: 1357 2 1354
分享到:
相关推荐
清除maven缓存 绝对可用.里面有(windows/mac/linux)版本
清空本地DNS缓存的几种方法,亲测,可行
清除Jquery缓存语句
清空缓存:在Page_Load中加一句:Response.Cache.SetNoStore();
linux下查看被缓存的文件工具
Linux系统缓存清理脚本
调用该程序呢可以运行项目时自动清理IE缓存
weblogic清缓存的shell
chrome缓存清除扩展程序,通过js清除chrome缓存的api演示
怎么清空web缓存,浏览器经常需要清空缓存,比如在做软件测试的时候,浏览器需要进行清空缓存,好方便测试
linux实现缓存安装,适用于centos和redhat操作系统。。。
一般大家在做大型工程的编译时,比如linux kernel,Android等总会遇到内存爆满,系统一旦开始刷新swap就奇慢无比,实际上是因为系统硬件内存部分被占满(其中大部分被载入内存中的文件已经不需要了——使用过了,...
IE缓存清理器是一款用来便捷的一键清理IE缓存的辅助工具软件。 IE缓存文件夹在哪? 如何找IE缓存文件夹? 如何清理ie缓存?...如何清空ie缓存? ie缓存在哪? 这个软件可以帮你解决以上所有问题!
windows清除图标缓存,管理员权限运行。文本工具打开查看源码。
一键清除IE缓存一键清除IE缓存一键清除IE缓存一键清除IE缓存一键清除IE缓存
windows清除电脑缓存脚本
mave里面用命令行清楚缓存文件.
清除IE缓存.批处理,清除IE缓存.批处理,清除IE缓存.批处理
清除IE浏览器缓存批处理文件,清除的很干净,不用再去操作里设置里删除了。
可通过如下方法清空查询缓存 reset query cache; 您可能感兴趣的文章:MySQL优化之缓存优化mysql的查询缓存说明使用Memcache缓存mysql数据库操作的原理和缓存过程浅析浅析MySQL内存的使用说明(全局缓存+线程缓存)...