当前位置:网站首页>Clean up system cache and free memory under Linux
Clean up system cache and free memory under Linux
2022-07-01 18:53:00 【InfoQ】
sync
> sync;sync;sync
Manual memory release command
> echo 3>/proc/sys/vm/drop_caches
- 0: Don't release ( System default )
- 1: Free page cache
- 2: Release dentries and inodes
Look at the memory
> free -h
total—— Total physical memory
used—— Used memory , Generally, this value will be relatively large , Because this value includes cache+ Memory used by the application
free—— Completely unused memory
shared—— Application shared memory
buffers—— cache , It's mainly used for catalogues ,inode It's worth waiting for (ls Large directories can see this value increase )
cached—— cache , For open files
Restore default settings
> echo 0>/proc/sys/vm/drop_caches
- reply 【1001】 obtain linux Quick reference manual of common commands
- reply 【10010】 obtain Alibaba cloud ECS Operation and maintenance Linux System diagnosis
- reply 【10012】 obtain Linux Learning notes 【 The strong summary is worth seeing 】
- reply 【10013】 obtain shell A concise tutorial

边栏推荐
- 1. "Create your own NFT collections and publish a Web3 application to show them." what is NFT
- Must see, time series analysis
- Lumiprobe 双功能交联剂丨Sulfo-Cyanine5 双-NHS 酯
- 如何运营好技术相关的自媒体?
- Vidéos courtes recommandées chaque semaine: méfiez - vous de la confusion entre « phénomène » et « problème »
- R语言ggplot2可视化:gganimate创建动态柱状图动画(gif)、在动画中沿给定维度逐步显示柱状图、enter_grow函数和enter_fade函数控制运动内插退出(渐变tweening)
- About enterprise middle office planning and it architecture microservice transformation
- 力扣每日一题-第32天-1232. 缀点成线
- 12种数据量纲化处理方式
- ES6数组去重的三个简单办法
猜你喜欢

Salesmartly has some tricks for Facebook chat!

Lumiprobe non fluorescent alkyne EU (5-ethynyluridine)

实例讲解将Graph Explorer搬上JupyterLab

为什么独立站卖家都开始做社交媒体营销?原来客户转化率能提高这么多!

如何使用物联网低代码平台进行个人设置?

Using OpenSSL encryption to rebound shell traffic

Livedata postvalue will "lose" data

Leetcode-21 combines two ordered linked lists

Force buckle day33

AI 训练速度突破摩尔定律;宋舒然团队获得RSS 2022最佳论文奖
随机推荐
ACM MM 2022视频理解挑战赛视频分类赛道冠军AutoX团队技术分享
摄像头的MIPI接口、DVP接口和CSI接口[通俗易懂]
实例讲解将Graph Explorer搬上JupyterLab
R language ggplot2 visualization: gganimate package transition_ Time function to create dynamic scatter animation (GIF), shadow_ The wake function configures the gradient falloff tailing effect of the
2. Create your own NFT collections and publish a Web3 application to show them start and run your local environment
字节跳动数据平台技术揭秘:基于 ClickHouse 的复杂查询实现与优化
2020,最新手机号码手机验证正则表达式,持续更新
Leetcode203 移除链表元素
Qfile read / write file operation in QT
Lefse analysis
透过华为军团看科技之变(六):智慧公路
Lumiprobe非荧光炔烃丨EU(5-乙炔基尿苷)
解决方案:可以ping别人,但是别人不能ping我
Halcon图片标定,使得后续图片处理过后变成与模板图片一样
Regular expression
Leetcode203 remove linked list elements
Popular science: what does it mean to enter the kernel state?
R语言ggplot2可视化:gganimate包transition_time函数创建动态散点图动画(gif)、shadow_wake函数配置动画的渐变效果(gradual falloff)拖尾效应
11、用户、组和权限(1)
R语言epiDisplay包ordinal.or.display函数获取有序logistic回归模型的汇总统计信息(变量对应的优势比及其置信区间、以及假设检验的p值)、write.csv函数保存csv