Difference between revisions of "Swap"

11 bytes added ,  3 years ago
m
Corrected minor typos
m (moved language selector ot the top)
m (Corrected minor typos)
Line 41: Line 41:


<translate><!--T:23-->
<translate><!--T:23-->
Taking into accound all of the above, this brings us to the following table:
Taking into account all of the above, this brings us to the following table:
(last 3 columns denote swap space)</translate>
(last 3 columns denote swap space)</translate>


Line 77: Line 77:


<translate><!--T:29--> The following script will:</translate>
<translate><!--T:29--> The following script will:</translate>
* <translate><!--T:30--> show whether zswap is active or not and if active, give zswap parameters if run with the `sudo` command</translate>
* <translate><!--T:30--> show whether zswap is active or not and if active, give zswap parameters if run with the {{$ic|sudo}} command</translate>
* <translate><!--T:31--> display a list of all applications / services that take up swap and how much they take up in descending order</translate>
* <translate><!--T:31--> display a list of all applications / services that take up swap and how much they take up in descending order</translate>


Line 107: Line 107:


<!--T:35-->
<!--T:35-->
To create a swap partition, you need enough unallocated disk space to create an additional partition. If you do not have enough space, skip to the next section [[<tvar|link>Special:MyLanguage/#Using_a_swap_file</>|#Using_a_swap_file]]. A swap partition can be created in any disk management / partition management tool and should be set as type `linuxswap`.</translate>
To create a swap partition, you need enough unallocated disk space to create an additional partition. If you do not have enough space, skip to the next section [[<tvar|link>Special:MyLanguage/#Using_a_swap_file</>|#Using_a_swap_file]]. A swap partition can be created in any disk management / partition management tool and should be set as type {{ic|linuxswap}}.</translate>


<translate><!--T:36--> Once you have a swap partition you will need to initialize the swap partition with {{ic|mkswap}}.  For example, if your swap partition is {{ic|/dev/sda3}}, you could use the command:</translate>
<translate><!--T:36--> Once you have a swap partition you will need to initialize the swap partition with {{ic|mkswap}}.  For example, if your swap partition is {{ic|/dev/sda3}}, you could use the command:</translate>
Moderators, translator
286

edits