Difference between revisions of "/swap.img"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* <code>[[swapon]]</code> | * <code>[[swapon]]</code> | ||
+ | |||
+ | swapon -s | ||
+ | Filename Type Size Used Priority | ||
+ | [[/swap.img]] file 2023420 104312 -2 | ||
Revision as of 14:53, 24 August 2023
swapon -s Filename Type Size Used Priority /swap.img file 2023420 104312 -2
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: