cache释放: To free pagecache: > /proc/sys/vm/drop_caches To free dentries and inodes: > /proc/sys/vm/drop_caches To free pagecache, dentries and inodes: > /proc/sys/vm/drop_caches 说明,释放前最好sync一下,防止丢数据. 附: linux cache内存释放bash 脚本 #! /bin/sh freemem=$
关于错误报告 网上查了下,Ubuntu(包括elementary,elementary是基于Ubuntu的)桌面版预装了Apport,它是一个错误收集系统,会收集软件崩溃.未处理异常和其他,包括程序bug,并为调试目的生成崩溃报告.当一个应用程序崩溃或者出现Bug时候,Apport就会通过弹窗警告用户并且询问用户是否提交崩溃报告. 好像Linux的发行版里只有Ubuntu有这个错误报告?不管出于什么原因,这个东西我觉得很烦人,所以我把他关掉了 临时关闭 sudo service apport s