Centos7手动释放服务器内存:缓存
[root@mail ~]# sync [root@mail ~]# cat /proc/sys/vm/drop_caches 0 [root@mail ~]# echo 3 > /proc/sys/vm/drop_caches
total 内存总数 used 已经使用的内存 free 空闲的内存 shared 多个进程共享的内存总额 buffers Buffer Cache和cached Page Cache 磁盘缓存的大小 -buffers/cache 的内存:used - buffers - cached +buffers/cache 的内存:free + buffers + cached available(可用memory)=free memory+buffers+cached,有些状况cached占用不少资源,算起来数值不对,其实不影响实际使用。