FreeBSD – How to clean swap

FreeBSD에서 재부팅없이 swap 지우는 방법

[[email protected] ~]# swapinfo
Device                   1K-blocks       Used          Avail        Capacity
/dev/ad0s1b       2097376    262448    1834928       13%

– swap off

[[email protected] ~]# swapoff -a
swapoff: removing /dev/ad0s1b as swap device

– swap on

[[email protected] ~]# swapon -a
swapon: adding /dev/ad0s1b as swap device

Loading Disqus Comments ...
Loading Facebook Comments ...

No Trackbacks.