Khi hết swap thì ta cần thêm swap file, ví dụ cần thêm 1G swap :
/usr/sbin/mkfile 1024m /swapfile --> tạo swap file
/usr/sbin/swap -a /swapfile --> cho hệ thống biết swap file mới nằm ở đâu
Đơn vị tính : kilobytes (k), blocks (b), or megabytes (m)
Kiểm tra swap file mới đã được thêm hay chưa ?
swap -l