Difference between revisions of "/swap.img"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
Failed deactivating swap. /swap.img | Failed deactivating swap. /swap.img | ||
− | [[swapoff -a]] | + | [[swapoff -a]] (disable all swaps from [[/proc/swaps]]) |
[[truncate]] -s 500MB /swap.img | [[truncate]] -s 500MB /swap.img | ||
Revision as of 10:33, 13 July 2021
Failed deactivating swap. /swap.img
swapoff -a (disable all swaps from /proc/swaps) truncate -s 500MB /swap.img
Related terms
See also
- Swap,
swapon
,swapoff
,mkswap
,swaplabel
,free
,sar -r
,sar -S
,sar -W
,vmstat
,vm.swappiness
,/proc/swaps
,/etc/fstab
, Add a swap disk,systemd.swap
Advertising: