Difference between revisions of "Swap"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 8: | Line 8: | ||
</pre> | </pre> | ||
− | == Related | + | == Related terms == |
* <code>[[swapon]] -s</code> or <code>swapon --show</code> | * <code>[[swapon]] -s</code> or <code>swapon --show</code> | ||
* <code>[[swapoff]] /[[dev]]/[[mapper]]/rhvh-swap</code> | * <code>[[swapoff]] /[[dev]]/[[mapper]]/rhvh-swap</code> | ||
Line 14: | Line 14: | ||
* <code>[[sysctl]] vm.swappiness</code> | * <code>[[sysctl]] vm.swappiness</code> | ||
* <code>vm.[[vfs_cache_pressure]]</code> | * <code>vm.[[vfs_cache_pressure]]</code> | ||
+ | * <code>cat /[[proc]]/[[swaps]]</code> | ||
== Activities == | == Activities == |
Revision as of 10:19, 10 May 2020
cat /proc/swaps Filename Type Size Used Priority /dev/dm-1 partition 4194300 268 -2 /dev/dm-6 partition 999420 0 -3
Related terms
swapon -s
orswapon --show
swapoff /dev/mapper/rhvh-swap
systemctl --type swap
sysctl vm.swappiness
vm.vfs_cache_pressure
cat /proc/swaps
Activities
- Review Linux swap questions in StackExchange: https://unix.stackexchange.com/questions/tagged/swap?tab=Votes
- Read "The next steps for swap" article from lwn.net https://lwn.net/Articles/717707/
- 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: