Difference between revisions of "Swap"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 12: | Line 12: | ||
* <code>[[swapoff]] /dev/mapper/rhvh-swap</code> | * <code>[[swapoff]] /dev/mapper/rhvh-swap</code> | ||
* <code>[[systemctl]] --type swap</code> | * <code>[[systemctl]] --type swap</code> | ||
+ | * <code>[[sysctl]] vm.swappiness</code> | ||
== Activities == | == Activities == |
Revision as of 07:07, 19 April 2020
cat /proc/swaps Filename Type Size Used Priority /dev/dm-1 partition 4194300 268 -2 /dev/dm-6 partition 999420 0 -3
Related commands
Activities
- Review Linux swap questions in StackExchange: https://unix.stackexchange.com/questions/tagged/swap?tab=Votes
- User
sar -S
to review swap usage
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
- memory
Advertising: