在我的Linux Redhat机器上执行swapoff
为了删除交换页面,保持在caching交换!
swapoff -a
我等到现在一个小时,掉线仍然有效
当swapoff应该结束时,我们能看到一些进程或通知吗?
备注大小为8G,内存大小为60G
为了跟踪swapoff进程, 免费运行命令
并看到一段时间后,总掉期减less
这样当swapodd结束的时候“总掉期”应该接近0,
swapoff结束后执行swapon -a
例如:
free -g total used free shared buffers cached Mem: 58 35 23 0 0 24 -/+ buffers/cache: 10 48 Swap: 1 1 0