wijzigen swappiness in Linux Mint 18.3

3 views
Skip to first unread message

Lange-draak

unread,
Aug 29, 2018, 7:16:02 AM8/29/18
to Fouten in Computertip
Dag,

Op een aantal pc's die straks naar Ghana gaan heb ik Linux Mint 18.3 geïnstalleerd. Deze keer kreeg ik het niet voor elkaar om het swappiness te veranderen op jouw manier door het text file te veranderen en op te slaan. Het text file wordt niet gevonden en als ik zoek naar het aangewezen pad (met aangevinkt ook verborgen bestanden weergeven) kan ik die map ook niet vinden.

Toen ben ik op zoek gegaan en vond deze manier die wel werkt wen nog veel sneller is. 


The swappiness parameter value is stored in a simple configuration text file located in /proc/sys/vm and is named “swappiness”. If you navigate there through the file manager, you will be able to locate the file and open it to check your system's swappiness. You can also check it or change it through the terminal (which is faster) by typing the following command:
 “sudo sysctl vm.swappiness=10” 
or whatever else between “0” and “100” instead of the value “10” that I used. To ensure that the swappiness value was correctly changed to the desired one, you simply type:
 “cat /proc/sys/vm/swappiness” 
on the terminal again and the active value will be outputted.

alleen dus via direct een terminal opdracht. En dit werkt prima.

Zal nog even de link opzoeken van de site waar ik het vandaan heb.

https://www.howtoforge.com/tutorial/linux-swappiness/

groeten,

Johan Nagtegaal

alias Lange Draak

Beheerder

unread,
Aug 29, 2018, 7:20:10 AM8/29/18
to Fouten in Computertip
Bedankt, maar mijn webstek is uitsluitend bedoeld voor Linux Mint 19 (en Ubuntu 18.04.x).  :-)

Groet, Pjotr.

Op woensdag 29 augustus 2018 13:16:02 UTC+2 schreef Lange-draak:
Reply all
Reply to author
Forward
0 new messages