Difference between revisions of "Swap"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 7: | Line 7: | ||
/dev/dm-6 partition 999420 0 -3 | /dev/dm-6 partition 999420 0 -3 | ||
</pre> | </pre> | ||
+ | |||
+ | == Activities == | ||
+ | * Read https://chrisdown.name/2018/01/02/in-defence-of-swap.html | ||
+ | |||
== Related terms == | == Related terms == | ||
Line 12: | Line 16: | ||
* <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> | + | * <code>[[sysctl]] vm.[[swappiness]]</code> |
* <code>vm.[[vfs_cache_pressure]]</code> | * <code>vm.[[vfs_cache_pressure]]</code> | ||
* <code>cat /[[proc]]/[[swaps]]</code> | * <code>cat /[[proc]]/[[swaps]]</code> | ||
+ | * [[swap (finance)]] | ||
+ | * <code>[[/swapfile]]</code> | ||
+ | * [[Add a swap disk]] | ||
+ | * [[K8s v1.28]]: Beta support for enabling swap space on Linux | ||
== Activities == | == Activities == | ||
* Review Linux swap questions in StackExchange: https://unix.stackexchange.com/questions/tagged/swap?tab=Votes | * 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/ | + | * Read "The next steps for swap" (2017) article from lwn.net https://lwn.net/Articles/717707/ |
* User <code>[[sar -S]]</code> to review swap usage | * User <code>[[sar -S]]</code> to review swap usage | ||
Latest revision as of 06:58, 12 February 2024
cat /proc/swaps Filename Type Size Used Priority /dev/dm-1 partition 4194300 268 -2 /dev/dm-6 partition 999420 0 -3
Activities[edit]
Related terms[edit]
swapon -s
orswapon --show
swapoff /dev/mapper/rhvh-swap
systemctl --type swap
sysctl vm.swappiness
vm.vfs_cache_pressure
cat /proc/swaps
- swap (finance)
/swapfile
- Add a swap disk
- K8s v1.28: Beta support for enabling swap space on Linux
Activities[edit]
- Review Linux swap questions in StackExchange: https://unix.stackexchange.com/questions/tagged/swap?tab=Votes
- Read "The next steps for swap" (2017) article from lwn.net https://lwn.net/Articles/717707/
- User
sar -S
to review swap usage
See also[edit]
- 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: