FreeBSD – How to clean swap

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

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

- swap off

[root@yongbok ~]# swapoff -a
swapoff: removing /dev/ad0s1b as swap device

- swap on

[root@yongbok ~]# swapon -a
swapon: adding /dev/ad0s1b as swap device

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

No Trackbacks.