zoukankan      html  css  js  c++  java
  • cache 比free 多

    [root@edc01 ~]# free -m

                 total       used       free     shared    buffers     cached
    Mem:         15951      15779        171          0        300       4223
    -/+ buffers/cache:      11256       4694
    Swap:            0          0          0
    [root@edc01 ~]# cat /proc/sys/vm/drop_caches
    0
    [root@edc01 ~]# sync
    [root@edc01 ~]# echo 3 > /proc/sys/vm/drop_caches
    [root@edc01 ~]# free -m
                 total       used       free     shared    buffers     cached
    Mem:         15951      11014       4936          0          0         36
    -/+ buffers/cache:      10978       4973
    Swap:            0          0          0
    [root@edc01 ~]# free -m
                 total       used       free     shared    buffers     cached
    Mem:         15951      11017       4934          0          3         36
    -/+ buffers/cache:      10977       4974
    Swap:            0          0          0
    [root@edc01 ~]# cat /proc/sys/vm/drop_caches
    3
  • 相关阅读:
    Hbase 安装
    Hive操作
    Hive安装
    HDFS操作
    hadoop安装
    番茄时间管理法(Pomodoro Technique)
    测试架构师修炼之道:“秘书九段”的故事
    windows远程连接报:身份错误,函数不支持的解决办法
    Linux crontab配置
    Hadoop 历史服务配置启动查看
  • 原文地址:https://www.cnblogs.com/vzhangxk/p/15303496.html
Copyright © 2011-2022 走看看