dphys-swapfile
Manage the swap file on Debian-based Linux systems. More information: https://manpages.debian.org/latest/dphys-swapfile/dphys-swapfile.html.
- Disable the swap file:
dphys-swapfile swapoff
- Enable the swap file:
dphys-swapfile swapon
- Create a new swap file:
dphys-swapfile setup