Difference between revisions of "Swap"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 10: Line 10:
 
== Related commands ==
 
== Related commands ==
 
* <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>
 
* <code>[[systemctl]] --type swap</code>
 
* <code>[[systemctl]] --type swap</code>
 
* <code>[[sysctl]] vm.swappiness</code>
 
* <code>[[sysctl]] vm.swappiness</code>

Revision as of 11:22, 19 April 2020

wikipedia:swap

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

See also

Advertising: