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

边栏推荐
- 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
- Leetcode-128 最长连续序列
- 解决方案:可以ping别人,但是别人不能ping我
- How to realize the bottom layer of read-write lock in go question bank 16
- Leetcode-141 circular linked list
- R语言ggplot2可视化:gganimate创建动态柱状图动画(gif)、在动画中沿给定维度逐步显示柱状图、enter_grow函数和enter_fade函数控制运动内插退出(渐变tweening)
- Usage and underlying implementation principle of PriorityQueue
- Write an open source, convenient and fast database document query and generation tool with WPF
- 实例讲解将Graph Explorer搬上JupyterLab
- Halcon image calibration enables subsequent image processing to become the same as the template image
猜你喜欢

After studying 11 kinds of real-time chat software, I found that they all have these functions

用WPF写一款开源方便、快捷的数据库文档查询、生成工具

Technology implementation and Architecture Practice

透过华为军团看科技之变(六):智慧公路

斯坦福、Salesforce|MaskViT:蒙面视觉预训练用于视频预测

Memo - about C # generating barcode for goods

1. "Create your own NFT collections and publish a Web3 application to show them." what is NFT

搭建一个通用监控告警平台,架构上需要有哪些设计

C# SelfHost WebAPI (2)

创建您自己的NFT集合并发布一个Web3应用程序来展示它们(介绍)
随机推荐
Privacy sandbox is finally coming
字节跳动数据平台技术揭秘:基于 ClickHouse 的复杂查询实现与优化
Leetcode-83 删除排序链表中重复的元素
Solution: you can ping others, but others can't ping me
Halcon图片标定,使得后续图片处理过后变成与模板图片一样
实现一个Prometheus exporter
R language uses the transmute function of dplyr package to calculate the moving window mean value of the specified data column in dataframe data, and uses ggplot2 package to visualize the line graph b
R语言ggplot2可视化:可视化折线图、使用labs函数为折线图添加自定义的Y轴标签信息(customize y axis label)
R language uses the aggregate function of epidisplay package to divide numerical variables into different subsets based on factor variables, and calculate the summary statistics of each subset
数据库基础:select基本查询语句
Memo - about C # generating barcode for goods
华为云专家详解GaussDB(for MySQL)新特性
Must see, time series analysis
Leetcode-128 longest continuous sequence
Facebook聊单,SaleSmartly有妙招!
Why do independent website sellers start to do social media marketing? The original customer conversion rate can be improved so much!
2. Create your own NFT collections and publish a Web3 application to show them start and run your local environment
Golang error handling
R语言使用epiDisplay包的tableStack函数制作统计汇总表格(基于目标变量分组的描述性统计、假设检验等)、不设置by参数则计算数据框指定数据列范围的基础描述性统计信息
11、用户、组和权限(1)