肛瘘不手术可以治疗吗:释放linux内存

来源:百度文库 编辑:九乡新闻网 时间:2024/04/25 03:51:11

[root@localhost ~]# free -m       
                 total       used       free     shared    buffers     cached
Mem:           249        225         24          0         13            173
-/+ buffers/cache:       38         211
Swap:         2000          0       2000

[root@localhost ~]# sync
[root@localhost ~]# cat /proc/sys/vm/drop_caches
0
[root@localhost ~]# echo 3 >/proc/sys/vm/drop_caches   #把内存里的数据暂时写到硬盘里
[root@localhost ~]# cat /proc/sys/vm/drop_caches
3
[root@localhost ~]# free -m
             total       used       free     shared    buffers     cached
Mem:      249         56          193          0          1             19  
-/+ buffers/cache:    35        214
Swap:         2000          0       2000