Linux 清空缓存 drop caches linux linux sync drop_caches 发布时间: 2016-02-13 更新时间: 2023-03-26 总字数:100 阅读时间:1m 作者: 谢先斌 分享 复制网址 在Centos中,有时候我们内存会占用完,该文章介绍清空缓存的方法。 命令 同步 sync 清缓存 echo 3 > /proc/sys/vm/drop_caches 推荐优化参数:swappiness和vfs_cache_pressure。 组合命令 echo "sync && echo 3 > /proc/sys/vm/drop_caches" >> /usr/local/bin/drop_caches && chmod +x /usr/local/bin/drop_caches linux linux sync drop_caches 上一页:RPM SPEC常用路径以及宏变量 下一页:免费HTTPS证书Let's Encrypt安装教程 最近更新 Dapr 介绍 Juicefs 使用 vcluster k8s 多租户虚拟集群方案 Sanic Python Web 框架介绍 OpenEBS k8s PVC 服务安装部署 OpenELB:云原生负载均衡器插件 ChatGPT 介绍 OpenAI 介绍 Lua 库 Lua 模块 相关文章 dos2unix 文件格式转换命令介绍 RPM SPEC常用路径以及宏变量 tee 将信息同时输出到屏幕和文件 arping Linux 定时任务功能 crontab Linux日志归档功能 logrotate 如何快速的将Centos6.7快速升级3.10.9 wget 使用介绍 IPMI 介绍 Redhat/Centos 网卡配置项说明 最新评论 加载中...