tldr/pages/linux/dphys-swapfile.md

17 lines
318 B
Markdown
Raw Normal View History

2021-11-14 01:32:00 +00:00
# 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`