如何回收已占用的swap分区
如下所示:
[root@oldboy ~]# free -m total used free shared buffers ached Mem: 981 834 146 0 7 181 -/+ buffers/cache: 646 335 Swap: 1023 51 972
答案:
[root@oldboy ~]# swapoff -a [root@oldboy ~]# swapon -a [root@oldboy ~]# free -m total used free shared buffers cached Mem: 981 884 97 0 7 182 -/+ buffers/cache: 694 286 Swap: 1023 0 1023
结果,不行,DEBIAN怎么实现呢?