dphys-swapfile: add page (#7386)
This commit is contained in:

committed by
GitHub

parent
c5b52b9b8c
commit
6f17a1d087
16
pages/linux/dphys-swapfile.md
Normal file
16
pages/linux/dphys-swapfile.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# 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`
|
Reference in New Issue
Block a user