当前位置:网站首页>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

边栏推荐
- 11、用户、组和权限(1)
- R language uses follow up of epidisplay package Plot function visualizes the longitudinal follow-up map of multiple ID (case) monitoring indicators, and uses n.of The lines parameter specifies the num
- Create your own NFT collections and publish a Web3 application to show them (Introduction)
- 如何运营好技术相关的自媒体?
- Image acquisition and playback of coaxpress high speed camera based on pxie interface
- 1、《创建您自己的NFT集合并发布一个Web3应用程序来展示它们》什么是NFT
- Three. JS learning - basic operation of camera (learn from)
- Li Kou daily question - Day 32 -589 N × Preorder traversal of tree
- 每周推荐短视频:警惕“现象”与“问题”相互混淆
- Leetcode-83 删除排序链表中重复的元素
猜你喜欢

解决方案:可以ping别人,但是别人不能ping我

Force buckle day33

Altair HyperWorks 2022软件安装包和安装教程

Facebook聊单,SaleSmartly有妙招!

2. Create your own NFT collections and publish a Web3 application to show them start and run your local environment

Weekly recommended short videos: be alert to the confusion between "phenomena" and "problems"

Create your own NFT collections and publish a Web3 application to show them (Introduction)

搭建一個通用監控告警平臺,架構上需要有哪些設計

NSI packaging script add file details

Leetcode-160相交链表
随机推荐
隐私沙盒终于要来了
The R language uses the tablestack function of epidisplay package to make statistical summary tables (descriptive statistics based on the grouping of target variables, hypothesis testing, etc.). If th
How to realize the applet in its own app to realize continuous live broadcast
Excel之VBA简单宏编程
Halcon图片标定,使得后续图片处理过后变成与模板图片一样
毕业总结
解决方案:可以ping别人,但是别人不能ping我
太爱速M源码搭建,巅峰小店APP溢价寄卖源码分享
How to operate technology related we media well?
Viewing the whole ecology of Tiktok from a macro perspective
精耕渠道共谋发展 福昕携手伟仕佳杰开展新产品培训大会
Altair HyperWorks 2022软件安装包和安装教程
GameFramework食用指南
A wonderful time to buy and sell stocks
2. Create your own NFT collections and publish a Web3 application to show them start and run your local environment
Using OpenSSL encryption to rebound shell traffic
Case study on comprehensive competitiveness of principal components
Navicat Premium 15 永久破解和2021版本最新IDEA破解(亲测有效)
关于企业中台规划和 IT 架构微服务转型
实现一个Prometheus exporter