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
  • 相关阅读:
    即将到来的Android N,将具备这些新特性
    刚挣钱的程序猿同学该怎样花钱?
    Swift函数
    MVC
    css3硬件加速
    node+mongoDB+express项目需求解释
    柯里化
    web安全
    缓存机制详解
    nodejs --- crypto实现加密(转)
  • 原文地址:https://www.cnblogs.com/vzhangxk/p/15303496.html
Copyright © 2011-2022 走看看