Difference between revisions of "Swapon"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 3: | Line 3: | ||
* <code>swapon -s</code> or <code>swapon --show</code> | * <code>swapon -s</code> or <code>swapon --show</code> | ||
+ | |||
+ | swapon --show | ||
+ | NAME TYPE SIZE USED PRIO | ||
+ | /dev/[[dm]]-2 partition 976M 974.8M -2 | ||
* <code>cat /[[proc]]/swaps</code> | * <code>cat /[[proc]]/swaps</code> |
Revision as of 06:38, 19 April 2020
swapon
/swapoff
enable/disable devices and files for paging and swapping http://man7.org/linux/man-pages/man8/swapon.8.html
swapon -s
orswapon --show
swapon --show NAME TYPE SIZE USED PRIO /dev/dm-2 partition 976M 974.8M -2
cat /proc/swaps
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: memory pages, RAM, virsh Memory Commands, OOM, meminfo,
vmstat
, NAND, DDR,lsmem
,/dev/shm
,/proc/meminfo
,sar -r
, IOMMU,pmem
, Memory management, Garbage collector, THP, Linux Huge Page TLB
Advertising: